Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {{#each items as |item|}}
- <div class="ms-Grid-col ms-sm12 ms-md6 ms-lg4">
- {{#> resultTypes}}
- {{!-- The block below will be used as default item template if no result types matched --}}
- <div class="singleCard">
- {{#eq RefinableString01 'STS'}}
- <li class="ms-ListItem ms-ListItem--document" style="background-color: green" tabindex="0">
- {{else}}
- <li class="ms-ListItem ms-ListItem--document" style="background-color: red" tabindex="0">
- {{/eq}}
- <div class="cardInfo">
- <span class="HeaderImage" ><img src="/sites/TestingReactSearchWebPart/ModernDisplaytemplates/classic_logo_large.png" alt=""></span>
- <span class="titleArea" style="word-wrap: break-word"> <h3><a href="{{getUrl item}}">{{Title}}</a><br /></h3> </span>
- <span class="ms-ListItem-secondaryText">Template: {{RefinableString01}}</span>
- <span class="ms-ListItem-tertiaryText">{{getDate Created "LL"}}</span>
- <div class="ms-ListItem-selectionTarget"></div>
- </div>
- </li>
- </div>
- {{/resultTypes}}
- </div>
- {{/each}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement