User can now check out of inn from tasks page

Fixes #5651
This commit is contained in:
Gautham Chandra
2015-11-07 18:32:19 -05:00
parent 9cf3c72002
commit b9b2536478
3 changed files with 6 additions and 1 deletions
File diff suppressed because one or more lines are too long
+2
View File
@@ -196,6 +196,8 @@ for $stage in $stages
// ------------------------
.dailiesRestingInInn
clear: both
button
margin-top 10px
// an individual task entry
// ------------------------
+3
View File
@@ -22,6 +22,9 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
alert.alert-warning.dailiesRestingInInn(ng-if='list.type == "daily" && user.preferences.sleep && !$state.includes("options.social.challenges")')
i.glyphicon.glyphicon-warning-sign  
=env.t('dailiesRestingInInn')
button.btn-block.btn.btn-lg.btn-success(ng-click='User.user.ops.sleep({})')
| {{env.t('innCheckOut')}}
+taskColumnTabs('top')