1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/templates/components/gh-timezone-select.hbs

17 lines
599 B
Handlebars
Raw Normal View History

<span class="gh-select" data-select-text="{{this.selectedTimezone.label}}" tabindex="0">
<OneWaySelect
@id="activeTimezone"
@name="general[activeTimezone]"
@options={{this.selectableTimezones}}
@optionValuePath="name"
@optionLabelPath="label"
@value={{this.selectedTimezone}}
@update={{action "setTimezone"}}
/>
{{svg-jar "arrow-down-small"}}
</span>
{{#if this.hasTimezoneOverride}}
<p>Your timezone has been automatically set to {{this.activeTimezone}}.</p>
{{/if}}
<p>The local time here is currently {{this.localTime}}</p>