Merge pull request #6200 from gauthamchandra/feature/quick-checkout-from-dailies

User can now check out of inn from tasks page
This commit is contained in:
Blade Barringer 2015-11-11 20:49:35 -06:00
commit efd0e2333e
3 changed files with 6 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -196,6 +196,8 @@ for $stage in $stages
// ------------------------
.dailiesRestingInInn
clear: both
button
margin-top 10px
// an individual task entry
// ------------------------

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')