Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
todomvc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sven Franck
todomvc
Commits
b449f979
Commit
b449f979
authored
Jul 14, 2015
by
Arthur Verschaeve
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Thorax-lumbar: remove count from clear completed button
Ref #1234
parent
c2a799ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
examples/thorax_lumbar/public/todomvc.js
examples/thorax_lumbar/public/todomvc.js
+1
-1
examples/thorax_lumbar/src/templates/stats.handlebars
examples/thorax_lumbar/src/templates/stats.handlebars
+1
-1
No files found.
examples/thorax_lumbar/public/todomvc.js
View file @
b449f979
...
...
@@ -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
'
,
events
:
{
...
...
examples/thorax_lumbar/src/templates/stats.handlebars
View file @
b449f979
...
...
@@ -11,5 +11,5 @@
</li>
</ul>
{{#if
completed
}}
<button
id=
"clear-completed"
>
Clear completed
(
{{
completed
}}
)
</button>
<button
id=
"clear-completed"
>
Clear completed
</button>
{{/if}}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment