add message about Resting in the Inn to top of Dailies column when preferences.sleep is true

This commit is contained in:
Alys 2015-05-13 16:56:52 +10:00
parent 4050e9ad0c
commit 2ac763cc50
3 changed files with 9 additions and 1 deletions

View file

@ -77,5 +77,6 @@
"streakCoins": "Streak Bonus!",
"pushTaskToTop": "Push task to top",
"pushTaskToBottom": "Push task to bottom",
"emptyTask": "Enter the task's title first."
"emptyTask": "Enter the task's title first.",
"dailiesRestingInInn": "You're Resting in the Inn! Your Dailies will NOT hurt you tonight, but they WILL still refresh every day. If you're in a quest, you won't deal damage/collect items until you check out of the Inn, but you can still be injured by a Boss if your Party mates skip their own Dailies."
}

View file

@ -188,6 +188,11 @@ for $stage in $stages
.empty-task-notification
height: 100%;
// message in Dailies column when Resting in Inn
// ------------------------
.dailiesRestingInInn
clear: both
// an individual task entry
// ------------------------
.task

View file

@ -70,6 +70,8 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
span(ng-if='!list.bulk')=env.t('addmultiple')
span(ng-if='list.bulk')=env.t('addsingle')
div.dailiesRestingInInn(ng-if='::list.type == "daily" && user.preferences.sleep')=env.t('dailiesRestingInInn')
mixin taskColumnTabs(position)
// Habits Tabs
div(ng-if='::main && list.type=="habit"', class='tabbable tabs-below')