X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws.templates%2FRecord.handlebars;fp=src%2Fmkws.templates%2FRecord.handlebars;h=f8bf9517f6383f6c476bd1d61b363d11b2ddd38c;hb=2883bc9d2ba4d8f54280911b4f4e174594d1fde8;hp=0000000000000000000000000000000000000000;hpb=e6d7c4f45f1402aaaa786e69c69a4afef265450b;p=mkws-moved-to-github.git diff --git a/src/mkws.templates/Record.handlebars b/src/mkws.templates/Record.handlebars new file mode 100644 index 0000000..f8bf951 --- /dev/null +++ b/src/mkws.templates/Record.handlebars @@ -0,0 +1,59 @@ +{{! +Full record display. +}} + + + + + + {{#if md-date}} + + + + + {{/if}} + {{#if md-author}} + + + + + {{/if}} + {{#if md-electronic-url}} + + + + + {{/if}} + {{#mkws-if-any location having="md-subject"}} + + + + + {{/mkws-if-any}} + + + + +
{{mkws-translate "Title"}} + {{md-title}} + {{#if md-title-remainder}} + ({{md-title-remainder}}) + {{/if}} + {{#if md-title-responsibility}} + {{md-title-responsibility}} + {{/if}} +
{{mkws-translate "Date"}}{{md-date}}
{{mkws-translate "Author"}}{{md-author}}
{{mkws-translate "Links"}} + {{#each md-electronic-url}} + Link{{mkws-index1}} + {{/each}} +
{{mkws-translate "Subject"}} + {{#mkws-first location having="md-subject"}} + {{#if md-subject}} + {{#mkws-commaList md-subject}} + {{this}}{{/mkws-commaList}} + {{/if}} + {{/mkws-first}} +
{{mkws-translate "Locations"}} + {{#mkws-commaList location}} + {{mkws-attr "@name"}}{{/mkws-commaList}} +