mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
Better due date placement and formatting
This commit is contained in:
parent
4d451265a0
commit
5457bfb2e5
2 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue