diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-04-18 19:38:03 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-04-18 19:38:03 -0700 |
commit | c4e35fbf54a9cd80e27d600d47b24b1afdfeca6d (patch) | |
tree | ab215a66592e3ec41ce6f2c1a21b64dbda5a9df3 /ext/bg/js/templates.js | |
parent | f8d2cc1b0369e6350a91d540ef6165cd7dc50040 (diff) |
Display tooltips for tags
Diffstat (limited to 'ext/bg/js/templates.js')
-rw-r--r-- | ext/bg/js/templates.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js index cacd8808..1609cc97 100644 --- a/ext/bg/js/templates.js +++ b/ext/bg/js/templates.js @@ -77,8 +77,12 @@ templates['term.html'] = template({"1":function(container,depth0,helpers,partial + ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.tags : depth0),{"name":"each","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "</div>\n"; },"11":function(container,depth0,helpers,partials,data) { - return " <span class=\"tag\">" - + container.escapeExpression(container.lambda(depth0, depth0)) + var helper, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; + + return " <span class=\"tag\" title=\"" + + alias4(((helper = (helper = helpers.desc || (depth0 != null ? depth0.desc : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"desc","hash":{},"data":data}) : helper))) + + "\">" + + alias4(((helper = (helper = helpers.key || (data && data.key)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"key","hash":{},"data":data}) : helper))) + "</span>\n"; },"13":function(container,depth0,helpers,partials,data) { return " <li><span>" |