X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftemplates%2Fimages.handlebars;fp=src%2Ftemplates%2Fimages.handlebars;h=f74f174bf25491835ecfabe8e77fee093992937b;hb=23bacc1691b42d9b2e131b7f47c9fcb2f72e3e6f;hp=0000000000000000000000000000000000000000;hpb=aff3dffc410cc1ab5d5fdf60402d803351e28338;p=mkws-moved-to-github.git diff --git a/src/templates/images.handlebars b/src/templates/images.handlebars new file mode 100644 index 0000000..f74f174 --- /dev/null +++ b/src/templates/images.handlebars @@ -0,0 +1,21 @@ +{{! +Records presented as images. + +The non-metadata keys enable an optional link to display an AJAX popup that +fetches additional record detail. + +hits: + containerClass - partial class attribute for element containing a record + 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}}