X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-widget-main.templates%2FImage.handlebars;h=abee587289f94bf641f60ae99418fcff684a7525;hb=a7977dd3977263b135068a5b675651435da90ab7;hp=02bf01d062ce348e4ab36c77009205e72b1e8f65;hpb=86229ffbb4ef43e4f028c1f59fa93dc5b2285770;p=mkws-moved-to-github.git diff --git a/src/mkws-widget-main.templates/Image.handlebars b/src/mkws-widget-main.templates/Image.handlebars index 02bf01d..abee587 100644 --- a/src/mkws-widget-main.templates/Image.handlebars +++ b/src/mkws-widget-main.templates/Image.handlebars @@ -1,6 +1,18 @@ - - {{#mkws-first md-thumburl}} - {{../md-title}} - {{/mkws-first}} -
-
+{{! +Records presented as images. + +hits: + containerClass - class attribute for same + detailLinkId - id for the element triggering detail display + detailClick - a click event handler for details + renderedDetails - active record details rendered from the Record template + md-* - metadata fields passed through from backend +}} +{{#each hits}} + + {{#mkws-first md-thumburl}} + {{../md-title}} + {{/mkws-first}} +
+
+{{/each}}