added variable for date display and checking line ending issue

This commit is contained in:
Verabird
2014-12-22 15:19:53 -05:00
parent a1eb4bfa5b
commit 13be267efb
+1 -1
View File
@@ -4,7 +4,7 @@ li(bindonce='list', id='task-{{::task.id}}', ng-repeat='task in obj[list.type+"s
// Due Date
span(ng-if='task.type=="todo" && task.date')
span(ng-class='{"label label-danger":(moment(task.date).isBefore(_today, "days") && !task.completed)}') {{moment(task.date).format('MM/DD')}}
span(ng-class='{"label label-danger":(moment(task.date).isBefore(_today, "days") && !task.completed)}') {{moment(task.date).format(env.t('shortdate'))}}
// Streak
|  
span(ng-show='task.streak') {{task.streak}}