Added timezone form

This commit is contained in:
Amin Arria 2015-11-12 19:27:25 -04:30
parent 3f37da6f04
commit 807726305f
2 changed files with 16 additions and 1 deletions

View file

@ -140,5 +140,8 @@
"gemCapExtra": "Gem Cap Extra:",
"mysticHourglasses": "Mystic Hourglasses:",
"paypal": "PayPal",
"amazonPayments": "Amazon Payments"
"amazonPayments": "Amazon Payments",
"timezone": "Timezone",
"timezoneUTC": "Your timezone is: <b><%= utc %></b>",
"timezoneInfo": "<ul><li> Habitica uses the timezone set on your PC / mobile device.</li><li> If you use two or more PCs / devices, the timezone sholid be the same on them all otherwise cron will be unpredictable.</li><li> The timezone displayed here is the one that Habitica currently believes is yours.</li><li> If that timezone is wrong, first reload the website to ensure that Habitica is reading the most recent timezone information from your PC. If it is still wrong, adjust the timezone on your PC.</li></ul>"
}

View file

@ -105,6 +105,18 @@ script(type='text/ng-template', id='partials/options.settings.settings.html')
ng-disabled='dayStart == user.preferences.dayStart')
=env.t('saveCustomDayStart')
hr
h5=env.t('timezone')
.form-horizontal
.form-group
.col-sm-12
p
!=env.t('timezoneUTC', {utc: "{{ user.preferences.timezoneOffset | timezoneOffsetToUtc }}"})
br
p
!=env.t('timezoneInfo')
.personal-options.col-md-6
.panel.panel-default
.panel-heading