Prechádzať zdrojové kódy

Commit 11.4: Add private class to private tasks.

Frederic G. MARAND 8 rokov pred
rodič
commit
abf721c030
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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" />