mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
Add tooltips for day buttons to show "due" or "not due"
This commit is contained in:
parent
1997338751
commit
2343e4720c
3 changed files with 4 additions and 1 deletions
|
|
@ -54,6 +54,7 @@
|
|||
"complete": "Done",
|
||||
"dated": "Dated",
|
||||
"due": "Due",
|
||||
"notDue": "Not Due",
|
||||
"grey": "Grey",
|
||||
"score": "Score",
|
||||
"rewards": "Rewards",
|
||||
|
|
|
|||
|
|
@ -68,6 +68,8 @@ hrpg-button-color-mixin($hrpg-button-color, highlight=false)
|
|||
color: darken($hrpg-button-color, 70%) !important
|
||||
.glyphicon
|
||||
color:darken($hrpg-button-color, 60%)
|
||||
.tooltip
|
||||
border:0
|
||||
&.active
|
||||
a, button
|
||||
background-color: darken($hrpg-button-color, 3.82%) !important
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ ng-form.form-group(name='everyX' ng-if='task.frequency=="daily"')
|
|||
mixin dayOfWeek(day, num)
|
||||
li
|
||||
button(type='button', ng-class='{active: task.repeat.#{day}}',
|
||||
ng-disabled='task.challenge.id', ng-click='task.repeat.#{day} = !task.repeat.#{day}')
|
||||
ng-disabled='task.challenge.id', ng-click='task.repeat.#{day} = !task.repeat.#{day}', tooltip='{{env.t((task.repeat.#{day}) ? "due" : "notDue")}}')
|
||||
| {{::moment.weekdaysMin(#{num})}}
|
||||
|
||||
+dayOfWeek('su', 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue