summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
90c8a22)
Add new Handlebars helper {{index1}} to form link texts.
+Handlebars.registerHelper('index1', function(obj) {
+ mkws.debug($.toJSON(obj));
+ return obj.data.index + 1;
+});
+
+
// Set up global mkws object. Contains truly global state such as SP
// authentication, and a hash of team objects, indexed by windowid.
// Set up global mkws object. Contains truly global state such as SP
// authentication, and a hash of team objects, indexed by windowid.
{{/if}}\
{{#if md-electronic-url}}\
<tr>\
{{/if}}\
{{#if md-electronic-url}}\
<tr>\
- <th>{{translate "URL"}}</th>\
+ <th>{{translate "Links"}}</th>\
<td>\
{{#each md-electronic-url}}\
<td>\
{{#each md-electronic-url}}\
- <a href="{{this}}">{{this}}</a><br/>\
+ <a href="{{this}}">Link{{index1}}</a>\