Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. {{#each items as |item|}}
  2. <div class="ms-Grid-col ms-sm12 ms-md6 ms-lg4">
  3. {{#> resultTypes}}
  4. {{!-- The block below will be used as default item template if no result types matched --}}
  5. <div class="singleCard">
  6. {{#eq RefinableString01 'STS'}}
  7. <li class="ms-ListItem ms-ListItem--document" style="background-color: green" tabindex="0">
  8. {{else}}
  9. <li class="ms-ListItem ms-ListItem--document" style="background-color: red" tabindex="0">
  10. {{/eq}}
  11. <div class="cardInfo">
  12. <span class="HeaderImage" ><img src="/sites/TestingReactSearchWebPart/ModernDisplaytemplates/classic_logo_large.png" alt=""></span>
  13. <span class="titleArea" style="word-wrap: break-word"> <h3><a href="{{getUrl item}}">{{Title}}</a><br /></h3> </span>
  14. <span class="ms-ListItem-secondaryText">Template: {{RefinableString01}}</span>
  15. <span class="ms-ListItem-tertiaryText">{{getDate Created "LL"}}</span>
  16. <div class="ms-ListItem-selectionTarget"></div>
  17. </div>
  18. </li>
  19. </div>
  20. {{/resultTypes}}
  21. </div>
  22. {{/each}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement