Commit b449f979 authored by Arthur Verschaeve's avatar Arthur Verschaeve

Thorax-lumbar: remove count from clear completed button

Ref #1234
parent c2a799ca
...@@ -160,7 +160,7 @@ $(function() { ...@@ -160,7 +160,7 @@ $(function() {
}); });
;; ;;
Thorax.templates['src/templates/stats'] = Handlebars.compile('<span id=\"todo-count\"><strong>{{remaining}}</strong> {{itemText}} left</span>\n<ul id=\"filters\">\n <li>\n {{#link \"/\" class=\"selected\"}}All{{/link}}\n </li>\n <li>\n {{#link \"/active\"}}Active{{/link}}\n </li>\n <li>\n {{#link \"/completed\"}}Completed{{/link}}\n </li>\n</ul>\n{{#if completed}}\n <button id=\"clear-completed\">Clear completed ({{completed}})</button>\n{{/if}}\n');Thorax.View.extend({ Thorax.templates['src/templates/stats'] = Handlebars.compile('<span id=\"todo-count\"><strong>{{remaining}}</strong> {{itemText}} left</span>\n<ul id=\"filters\">\n <li>\n {{#link \"/\" class=\"selected\"}}All{{/link}}\n </li>\n <li>\n {{#link \"/active\"}}Active{{/link}}\n </li>\n <li>\n {{#link \"/completed\"}}Completed{{/link}}\n </li>\n</ul>\n{{#if completed}}\n <button id=\"clear-completed\">Clear completed</button>\n{{/if}}\n');Thorax.View.extend({
name: 'stats', name: 'stats',
events: { events: {
......
...@@ -11,5 +11,5 @@ ...@@ -11,5 +11,5 @@
</li> </li>
</ul> </ul>
{{#if completed}} {{#if completed}}
<button id="clear-completed">Clear completed ({{completed}})</button> <button id="clear-completed">Clear completed</button>
{{/if}} {{/if}}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment