From: Jason Skomorowski Date: Thu, 30 Oct 2014 20:30:36 +0000 (-0400) Subject: Add fields to summary, also remove bold and italic. X-Git-Tag: 1.0.0~83^2~21 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=1ce3c27564f238259f22b14095bfb32719dd14a1;p=mkws-moved-to-github.git Add fields to summary, also remove bold and italic. --- diff --git a/src/templates/summary.handlebars b/src/templates/summary.handlebars index aa2ed10..3838d17 100644 --- a/src/templates/summary.handlebars +++ b/src/templates/summary.handlebars @@ -10,14 +10,31 @@ detailClick - a click event handler for details renderedDetails - active record details rendered from the details template md-* - metadata fields passed through from backend }} +{{#if md-thumburl}} + + + +{{/if}} + - {{md-title}} + {{md-title}} + {{#if md-title-remainder}} - {{md-title-remainder}} + {{md-title-remainder}} +{{/if}} +{{#if md-author}} + {{md-author}} +{{else}} + {{#if md-title-responsibility}} + {{md-title-responsibility}} + {{/if}} +{{/if}} +{{#if md-description}} +
{{md-description}}
{{/if}} -{{#if md-title-responsibility}} - {{md-title-responsibility}} +{{#if md-date}} + {{md-date}} {{/if}} {{#if renderedDetails}} {{{renderedDetails}}}