Adding better rule output
This commit is contained in:
parent
aa288d524b
commit
80da71148a
@ -34,21 +34,22 @@ templates['term.html'] = template({"1":function(container,depth0,helpers,partial
|
||||
+ container.escapeExpression(((helper = (helper = helpers.expression || (depth0 != null ? depth0.expression : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"expression","hash":{},"data":data}) : helper)))
|
||||
+ "</div>\n";
|
||||
},"5":function(container,depth0,helpers,partials,data) {
|
||||
var stack1;
|
||||
var stack1, helper, alias1=depth0 != null ? depth0 : {};
|
||||
|
||||
return "<div class=\"rules\">\n"
|
||||
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.rules : depth0),{"name":"each","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
||||
+ "</div>\n";
|
||||
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.rules : depth0),{"name":"each","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
||||
+ " »\n "
|
||||
+ container.escapeExpression(((helper = (helper = helpers.source || (depth0 != null ? depth0.source : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"source","hash":{},"data":data}) : helper)))
|
||||
+ "\n</div>\n";
|
||||
},"6":function(container,depth0,helpers,partials,data) {
|
||||
var stack1;
|
||||
|
||||
return " "
|
||||
+ container.escapeExpression(container.lambda(depth0, depth0))
|
||||
+ "\n"
|
||||
+ ((stack1 = helpers.unless.call(depth0 != null ? depth0 : {},(data && data.last),{"name":"unless","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
||||
+ "\n";
|
||||
+ ((stack1 = helpers.unless.call(depth0 != null ? depth0 : {},(data && data.last),{"name":"unless","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
|
||||
},"7":function(container,depth0,helpers,partials,data) {
|
||||
return " « ";
|
||||
return " »\n";
|
||||
},"9":function(container,depth0,helpers,partials,data) {
|
||||
return " <li><span>"
|
||||
+ container.escapeExpression(container.lambda(depth0, depth0))
|
||||
|
@ -8,8 +8,12 @@
|
||||
<div class="rules">
|
||||
{{#each rules}}
|
||||
{{.}}
|
||||
{{#unless @last}} « {{/unless}}
|
||||
{{#unless @last}}
|
||||
»
|
||||
{{/unless}}
|
||||
{{/each}}
|
||||
»
|
||||
{{source}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user