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:
b760daf
)
Provide default "Summary" template, rending the same as the old
author
Mike Taylor
<mike@indexdata.com>
Fri, 29 Nov 2013 17:25:49 +0000
(17:25 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 29 Nov 2013 17:25:49 +0000
(17:25 +0000)
hardwired code.
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
2a3f471
..
26d1fdb
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-782,6
+782,18
@@
function defaultTemplate(name)
</tr>\
</table>\
';
</tr>\
</table>\
';
+ } else if (name === "Summary") {
+ return '\
+ <a href="#" id="{{_id}}" onclick="{{_onclick}}">\
+ <b>{{md-title}}</b>\
+ </a>\
+ {{#if md-title-remainder}}\
+ <span>{{md-title-remainder}}</span>\
+ {{/if}}\
+ {{#if md-title-responsibility}}\
+ <span><i>{{md-title-responsibility}}</i></span>\
+ {{/if}}\
+';
}
var s = "There is no default '" + name +"' template!";
}
var s = "There is no default '" + name +"' template!";