From 1ce3c27564f238259f22b14095bfb32719dd14a1 Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Thu, 30 Oct 2014 16:30:36 -0400 Subject: [PATCH] Add fields to summary, also remove bold and italic. --- src/templates/summary.handlebars | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) 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}}} -- 1.7.10.4