projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f572e9a
)
display in the title list is a little thin for a lot of these resources, MKWS-205
author
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 13 Jun 2014 13:00:59 +0000
(13:00 +0000)
committer
Wolfram 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
patch
|
blob
|
history
diff --git
a/src/mkws-core.js
b/src/mkws-core.js
index
6123235
..
de5895d
100644
(file)
--- a/
src/mkws-core.js
+++ b/
src/mkws-core.js
@@
-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 '\