Better due date placement and formatting

This commit is contained in:
J. Ozymandias Fallick 2013-09-12 17:04:52 -04:00
parent 4d451265a0
commit 5457bfb2e5
2 changed files with 8 additions and 1 deletions

View file

@ -119,6 +119,10 @@ for $stage in $stages
line-height: 1.4
word-wrap: break-word
// task due date (for to-dos)
.task-date
font-size: 70%
.habit-wide .task-text
padding-left: 7em

View file

@ -1,6 +1,9 @@
li(ng-repeat='task in user[list.type + "s"]', class='task {{taskClasses(task,user.filters,user.preferences.dayStart,user.lastCron,list.showCompleted,list.main)}}', data-id='{{task.id}}')
// right-hand side control buttons
.task-meta-controls
// Due Date
span.task-date(ng-if='task.type=="todo" && task.date')
| {{task.date}}
// Streak
span(ng-show='task.streak') {{task.streak}}
span(tooltip='Streak Counter')
@ -67,7 +70,7 @@ li(ng-repeat='task in user[list.type + "s"]', class='task {{taskClasses(task,use
// {{#if taskInChallenge(task)}}
// {{taskAttrFromChallenge(task,'text')}}
// {{else}}
| {{task.text}} {{task.date}}
| {{task.text}}
// {{/}}
// edit/options dialog