Explorar o código

Commit 11.4: Add private class to private tasks.

Frederic G. MARAND %!s(int64=8) %!d(string=hai) anos
pai
achega
abf721c030
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      simple-todos.html

+ 1 - 1
simple-todos.html

@@ -34,7 +34,7 @@
 
 <!-- Custom "task" template -->
 <template name="task">
-  <li class="{{#if checked}}checked{{/if}}">
+  <li class="{{#if checked}}checked{{/if}} {{#if private}}private{{/if}}">
     <button class="delete">&times;</button>
     <input type="checkbox" checked="{{checked}}" class="toggle-checked" />