add ability to restore lost streaks, also add int() view helper
function (pretty cool actually, https://groups.google.com/forum/?fromgroups#!topic/derbyjs/otFCLu2p7yY)
This commit is contained in:
@@ -285,6 +285,9 @@
|
||||
<button type="button" class="task-action-btn tile {#if equal(:task.priority,'!!')}active{/}" data-priority='!!' x-bind=click:tasksSetPriority>Medium</button>
|
||||
<button type="button" class="task-action-btn tile {#if equal(:task.priority,'!!!')}active{/}" data-priority='!!!' x-bind=click:tasksSetPriority>Hard</button>
|
||||
</div>
|
||||
|
||||
<legend class="option-title">Restore Streak</legend>
|
||||
<input class='option-content' type=number value={int(:task.streak)} />
|
||||
</fieldset>
|
||||
{/}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user