mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 16:02:14 +00:00
Made daniel's text in the inn based on current rest status of the user.
This commit is contained in:
parent
41a6818ea8
commit
25b63cfacd
1 changed files with 4 additions and 4 deletions
|
|
@ -14,14 +14,14 @@
|
|||
h3.popover-title
|
||||
a(target='_blank', href='http://www.kickstarter.com/profile/2014640723')=env.t('daniel')
|
||||
.popover-content
|
||||
=env.t('danielText')
|
||||
span(ng-hide='user.preferences.sleep')=env.t('danielText')
|
||||
span(ng-show='user.preferences.sleep')=env.t('innText',{name:"{{user.profile.name}}"})
|
||||
div
|
||||
button.btn.btn-lg.btn-success(ng-class='{active: user.preferences.sleep}', ng-click='User.user.ops.sleep({})')
|
||||
span(ng-show='user.preferences.sleep')=env.t('innCheckOut')
|
||||
span(ng-hide='user.preferences.sleep')=env.t('innCheckIn')
|
||||
=env.t('danielText2')
|
||||
.alert.alert-info(ng-show='user.preferences.sleep')
|
||||
=env.t('innText',{name:"{{user.profile.name}}"})
|
||||
span(ng-hide='user.preferences.sleep')=env.t('danielText2')
|
||||
|
||||
|
||||
// Resources
|
||||
.panel.panel-default
|
||||
|
|
|
|||
Loading…
Reference in a new issue