mirror of
https://github.com/wekan/wekan.git
synced 2026-02-11 18:54:22 +01:00
Add message from service administrator
This commit is contained in:
parent
eb945f26a3
commit
aa1876f94c
10 changed files with 135 additions and 4 deletions
|
|
@ -14,6 +14,8 @@ template(name="setting")
|
|||
a.js-setting-menu(data-id="email-setting") {{_ 'email'}}
|
||||
li
|
||||
a.js-setting-menu(data-id="account-setting") {{_ 'accounts'}}
|
||||
li
|
||||
a.js-setting-menu(data-id="notice-setting") {{_ 'admin-notice'}}
|
||||
.main-body
|
||||
if loading.get
|
||||
+spinner
|
||||
|
|
@ -23,6 +25,8 @@ template(name="setting")
|
|||
+email
|
||||
else if accountSetting.get
|
||||
+accountSettings
|
||||
else if noticeSetting.get
|
||||
+administratorNoticeSettings
|
||||
|
||||
template(name="general")
|
||||
ul#registration-setting.setting-detail
|
||||
|
|
@ -96,3 +100,19 @@ template(name='accountSettings')
|
|||
span {{_ 'no'}}
|
||||
li
|
||||
button.js-accounts-save.primary {{_ 'save'}}
|
||||
|
||||
template(name='administratorNoticeSettings')
|
||||
ul#notice-setting.setting-detail
|
||||
li
|
||||
a.flex.js-toggle-activemessage
|
||||
.materialCheckBox(class="{{#if currentSetting.enabled}}is-checked{{/if}}")
|
||||
|
||||
span {{_ 'admin-notice-active'}}
|
||||
li
|
||||
.admin-notice(class="{{#if currentSetting.enabled}}{{else}}hide{{/if}}")
|
||||
ul
|
||||
li
|
||||
.title {{_ 'admin-notice-title'}}
|
||||
textarea#admin-notice.form-control= currentSetting.body
|
||||
li
|
||||
button.js-notice-save.primary {{_ 'save'}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue