display in the title list is a little thin for a lot of these resources, MKWS-205
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 13 Jun 2014 13:00:59 +0000 (13:00 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 13 Jun 2014 13:00:59 +0000 (13:00 +0000)
Additional values to title* are: date, location, and medium

src/mkws-core.js

index 6123235..de5895d 100644 (file)
@@ -266,6 +266,14 @@ mkws.defaultTemplate = function(name) {
 {{#if md-title-responsibility}}\
   <span><i>{{md-title-responsibility}}</i></span>\
 {{/if}}\
+{{#if md-date}}, {{md-date}}\
+{{#if location}}\
+, {{#mkws-first location}}{{mkws-attr "@name"}}{{/mkws-first}}\
+{{/if}}\
+{{#if md-medium}}\
+<span>, {{md-medium}}</span>\
+{{/if}}\
+{{/if}}\
 ';
   } else if (name === "Image") {
     return '\