summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-11-08 21:10:46 -0800
committerAlex Yatskov <alex@foosoft.net>2016-11-08 21:10:46 -0800
commitcbe1b2e2a303b54762c71a8c03e1e8656352e6c4 (patch)
treeca3bcb04e64c09b556905f9082e6b1712a3756ae
parent45877c460235e1578b01d46bae331979dd8d887f (diff)
WIP
-rw-r--r--ext/bg/js/templates.js2
-rw-r--r--tmpl/dictionary.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js
index c959af2a..cbfa932c 100644
--- a/ext/bg/js/templates.js
+++ b/ext/bg/js/templates.js
@@ -13,7 +13,7 @@ templates['dictionary.html'] = template({"1":function(container,depth0,helpers,p
+ alias4(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"title","hash":{},"data":data}) : helper)))
+ " <small>v."
+ alias4(((helper = (helper = helpers.version || (depth0 != null ? depth0.version : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"version","hash":{},"data":data}) : helper)))
- + "</small></h4>\n </div>\n <div class=\"col-xs-4 text-right disabled\">\n <button type=\"button\" class=\"dict-controls dict-delete btn btn-danger\">Delete</button>\n </div>\n </div>\n <div class=\"progress dict-delete-progress\">\n <div class=\"progress-bar progress-bar-striped progress-bar-danger\" style=\"width: 0%\"></div>\n </div>\n <div class=\"dict-delete-progress\">Deleting dictionary data, please be patient.</div>\n <div class=\"checkbox dict-controls "
+ + "</small></h4>\n </div>\n <div class=\"col-xs-4 text-right disabled\">\n <button type=\"button\" class=\"dict-controls dict-delete btn btn-danger\">Delete</button>\n </div>\n </div>\n <div class=\"dict-delete-progress\">Deleting dictionary data, please be patient.</div>\n <div class=\"progress dict-delete-progress\">\n <div class=\"progress-bar progress-bar-striped progress-bar-danger\" style=\"width: 0%\"></div>\n </div>\n <div class=\"checkbox dict-controls "
+ ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.hasTerms : depth0),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\">\n <label><input type=\"checkbox\" class=\"dict-enable-terms\" "
+ ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.hasTerms : depth0),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
diff --git a/tmpl/dictionary.html b/tmpl/dictionary.html
index 99fd220e..09102b51 100644
--- a/tmpl/dictionary.html
+++ b/tmpl/dictionary.html
@@ -7,10 +7,10 @@
<button type="button" class="dict-controls dict-delete btn btn-danger">Delete</button>
</div>
</div>
+ <div class="dict-delete-progress">Deleting dictionary data, please be patient.</div>
<div class="progress dict-delete-progress">
<div class="progress-bar progress-bar-striped progress-bar-danger" style="width: 0%"></div>
</div>
- <div class="dict-delete-progress">Deleting dictionary data, please be patient.</div>
<div class="checkbox dict-controls {{#unless hasTerms}}disabled{{/unless}}">
<label><input type="checkbox" class="dict-enable-terms" {{#unless hasTerms}}disabled{{/unless}} {{#if enableTerms}}checked{{/if}}> Enable term search</label>
</div>