X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws.templates%2FImage.handlebars;fp=src%2Fmkws.templates%2FImage.handlebars;h=abee587289f94bf641f60ae99418fcff684a7525;hb=2883bc9d2ba4d8f54280911b4f4e174594d1fde8;hp=0000000000000000000000000000000000000000;hpb=e6d7c4f45f1402aaaa786e69c69a4afef265450b;p=mkws-moved-to-github.git diff --git a/src/mkws.templates/Image.handlebars b/src/mkws.templates/Image.handlebars new file mode 100644 index 0000000..abee587 --- /dev/null +++ b/src/mkws.templates/Image.handlebars @@ -0,0 +1,18 @@ +{{! +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}}