mirror of https://github.com/abpframework/abp
parent
7dc370b697
commit
c91f2c90fe
@ -0,0 +1,27 @@
|
||||
@using Volo.Abp.SettingManagement.Localization
|
||||
@inherits Volo.Abp.AspNetCore.Components.AbpComponentBase
|
||||
@inject AbpBlazorMessageLocalizerHelper<AbpSettingManagementResource> LH
|
||||
|
||||
@if (TimezoneSettings != null)
|
||||
{
|
||||
<Form>
|
||||
<Row>
|
||||
<Column>
|
||||
<Field>
|
||||
<FieldLabel>@L["DisplayName:Timezone"] *</FieldLabel>
|
||||
<Select TValue="string" SelectedValue="TimezoneSettings.Timezone" SelectedValueChanged="OnSelectedValueChangedAsync">
|
||||
@foreach (var item in TimezoneSettings.TimeZoneItems)
|
||||
{
|
||||
<SelectItem Value="item.Value">@item.Name</SelectItem>
|
||||
}
|
||||
</Select>
|
||||
</Field>
|
||||
</Column>
|
||||
</Row>
|
||||
<Row>
|
||||
<Column>
|
||||
<SubmitButton Clicked="@UpdateSettingsAsync"/>
|
||||
</Column>
|
||||
</Row>
|
||||
</Form>
|
||||
}
|
Loading…
Reference in new issue