From 25d03b0584aa932115c0548b2a71270c2bc3731d Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Fri, 27 Jan 2017 22:36:06 -0800 Subject: fixing templates --- ext/bg/js/templates.js | 4 ++-- tmpl/fields.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js index a5003eda..01896aa6 100644 --- a/ext/bg/js/templates.js +++ b/ext/bg/js/templates.js @@ -55,11 +55,11 @@ templates['fields.html'] = template({"1":function(container,depth0,helpers,parti + ""; },"8":function(container,depth0,helpers,partials,data) { var stack1, helper, options, buffer = - "
  • >"; + "
  • "; stack1 = ((helper = (helper = helpers.multiLine || (depth0 != null ? depth0.multiLine : depth0)) != null ? helper : helpers.helperMissing),(options={"name":"multiLine","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data}),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},options) : helper)); if (!helpers.multiLine) { stack1 = helpers.blockHelperMissing.call(depth0,stack1,options)} if (stack1 != null) { buffer += stack1; } - return buffer + ">
  • "; + return buffer + ""; },"9":function(container,depth0,helpers,partials,data) { return container.escapeExpression(container.lambda(depth0, depth0)); },"11":function(container,depth0,helpers,partials,data) { diff --git a/tmpl/fields.html b/tmpl/fields.html index 0e96828e..ba03349c 100644 --- a/tmpl/fields.html +++ b/tmpl/fields.html @@ -2,7 +2,7 @@ {{~#if html~}} {{~#if tags~}}({{#each tags}}{{name}}{{#unless @last}}, {{/unless}}{{/each}}) {{/if~}} {{~#if glossary.[1]~}} - + {{~else~}} {{~#multiLine}}{{glossary.[0]}}{{/multiLine~}} {{~/if~}} -- cgit v1.2.3