Merge branch 'master' into templateallthemarkup
[mkws-moved-to-github.git] / src / mkws-widget-main.templates / Image.handlebars
1 {{!
2 Records presented as images.
3
4 hits:
5   containerClass - class  attribute for same
6   detailLinkId - id for the element triggering detail display
7   detailClick - a click event handler for details
8   renderedDetails - active record details rendered from the Record template
9   md-* - metadata fields passed through from backend
10 }}
11 {{#each hits}}
12   <a href="#" id="{{detailLinkId}}" onclick="{{detailClick}}">
13     {{#mkws-first md-thumburl}}
14       <img src="{{this}}" alt="{{../md-title}}"/>
15     {{/mkws-first}}
16     <br/>
17   </a>
18 {{/each}}