From: Wolfram Schneider Date: Fri, 13 Jun 2014 13:00:59 +0000 (+0000) Subject: display in the title list is a little thin for a lot of these resources, MKWS-205 X-Git-Tag: 1.0.0~479^2~3^2 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=89ab4d03240716f1714ea5c2ec7f855c406c042e;hp=f572e9a4431f1ec0da7e13e65f0806e8b242452a;p=mkws-moved-to-github.git display in the title list is a little thin for a lot of these resources, MKWS-205 Additional values to title* are: date, location, and medium --- diff --git a/src/mkws-core.js b/src/mkws-core.js index 6123235..de5895d 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -266,6 +266,14 @@ mkws.defaultTemplate = function(name) { {{#if md-title-responsibility}}\ {{md-title-responsibility}}\ {{/if}}\ +{{#if md-date}}, {{md-date}}\ +{{#if location}}\ +, {{#mkws-first location}}{{mkws-attr "@name"}}{{/mkws-first}}\ +{{/if}}\ +{{#if md-medium}}\ +, {{md-medium}}\ +{{/if}}\ +{{/if}}\ '; } else if (name === "Image") { return '\