فهرست منبع

Commit 11.4: Add private class to private tasks.

Frederic G. MARAND 8 سال پیش
والد
کامیت
abf721c030
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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" />