2017-02-24 22:10:38 +08:00
|
|
|
template(name="setting")
|
|
|
|
|
.setting-content
|
2017-06-21 11:28:00 +09:00
|
|
|
unless currentUser.isAdmin
|
|
|
|
|
| {{_ 'error-notAuthorized'}}
|
|
|
|
|
else
|
2025-10-13 20:51:29 +03:00
|
|
|
.content-title.ext-box
|
2025-10-13 22:17:32 +03:00
|
|
|
if isGeneralSetting
|
2025-10-13 20:51:29 +03:00
|
|
|
span
|
2025-10-17 02:19:43 +03:00
|
|
|
| 🔑
|
2025-10-13 20:51:29 +03:00
|
|
|
| {{_ 'registration'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isEmailSetting
|
2025-10-13 20:51:29 +03:00
|
|
|
span
|
2025-10-17 02:19:43 +03:00
|
|
|
| ✉️
|
2025-10-13 20:51:29 +03:00
|
|
|
| {{_ 'email'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isAccountSetting
|
2025-10-13 20:51:29 +03:00
|
|
|
span
|
2025-10-17 02:19:43 +03:00
|
|
|
| 👥
|
2025-10-13 20:51:29 +03:00
|
|
|
| {{_ 'accounts'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isTableVisibilityModeSetting
|
2025-10-13 20:51:29 +03:00
|
|
|
span
|
2025-10-17 02:19:43 +03:00
|
|
|
| 👁️
|
2025-10-13 20:51:29 +03:00
|
|
|
| {{_ 'tableVisibilityMode'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isAnnouncementSetting
|
2025-10-13 20:51:29 +03:00
|
|
|
span
|
2025-10-17 02:19:43 +03:00
|
|
|
| 📢
|
2025-10-13 20:51:29 +03:00
|
|
|
| {{_ 'admin-announcement'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isAccessibilitySetting
|
2025-10-13 20:51:29 +03:00
|
|
|
span
|
2025-10-17 02:19:43 +03:00
|
|
|
| ♿
|
2025-10-13 20:51:29 +03:00
|
|
|
| {{_ 'accessibility'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isLayoutSetting
|
2025-10-13 20:51:29 +03:00
|
|
|
span
|
2025-10-17 02:19:43 +03:00
|
|
|
| 🔗
|
2025-10-13 20:51:29 +03:00
|
|
|
| {{_ 'layout'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isWebhookSetting
|
2025-10-13 20:51:29 +03:00
|
|
|
span
|
2025-10-17 02:19:43 +03:00
|
|
|
| 🌐
|
2025-10-13 20:51:29 +03:00
|
|
|
| {{_ 'global-webhook'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isAttachmentSettings
|
2025-10-13 20:51:29 +03:00
|
|
|
span
|
2025-10-17 02:19:43 +03:00
|
|
|
| 📎
|
2025-10-13 20:51:29 +03:00
|
|
|
| {{_ 'attachments'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isCronSettings
|
2025-10-13 20:51:29 +03:00
|
|
|
span
|
2025-10-17 02:19:43 +03:00
|
|
|
| ⏰
|
2025-10-13 20:51:29 +03:00
|
|
|
| {{_ 'cron'}}
|
2017-06-21 11:28:00 +09:00
|
|
|
.content-body
|
|
|
|
|
.side-menu
|
2025-10-12 04:50:17 +03:00
|
|
|
ul
|
2025-10-13 22:17:32 +03:00
|
|
|
li(class="{{#if isGeneralSetting}}active{{/if}}")
|
2025-10-12 04:50:17 +03:00
|
|
|
a.js-setting-menu(data-id="registration-setting")
|
2025-10-17 02:19:43 +03:00
|
|
|
| 🔑
|
2025-10-12 04:50:17 +03:00
|
|
|
| {{_ 'registration'}}
|
|
|
|
|
unless isSandstorm
|
2025-10-13 22:17:32 +03:00
|
|
|
li(class="{{#if isEmailSetting}}active{{/if}}")
|
2025-10-12 04:50:17 +03:00
|
|
|
a.js-setting-menu(data-id="email-setting")
|
2025-10-17 02:19:43 +03:00
|
|
|
| ✉️
|
2025-10-12 04:50:17 +03:00
|
|
|
| {{_ 'email'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
li(class="{{#if isAccountSetting}}active{{/if}}")
|
2025-10-12 04:50:17 +03:00
|
|
|
a.js-setting-menu(data-id="account-setting")
|
2025-10-17 02:19:43 +03:00
|
|
|
| 👥
|
2025-10-12 04:50:17 +03:00
|
|
|
| {{_ 'accounts'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
li(class="{{#if isTableVisibilityModeSetting}}active{{/if}}")
|
2025-10-12 04:50:17 +03:00
|
|
|
a.js-setting-menu(data-id="tableVisibilityMode-setting")
|
2025-10-17 02:19:43 +03:00
|
|
|
| 👁️
|
2025-10-12 04:50:17 +03:00
|
|
|
| {{_ 'tableVisibilityMode'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
li(class="{{#if isAnnouncementSetting}}active{{/if}}")
|
2025-10-12 04:50:17 +03:00
|
|
|
a.js-setting-menu(data-id="announcement-setting")
|
2025-10-17 02:19:43 +03:00
|
|
|
| 📢
|
2025-10-12 04:50:17 +03:00
|
|
|
| {{_ 'admin-announcement'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
li(class="{{#if isAccessibilitySetting}}active{{/if}}")
|
2025-10-12 04:50:17 +03:00
|
|
|
a.js-setting-menu(data-id="accessibility-setting")
|
2025-10-17 02:19:43 +03:00
|
|
|
| ♿
|
2025-10-12 04:50:17 +03:00
|
|
|
| {{_ 'accessibility'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
li(class="{{#if isLayoutSetting}}active{{/if}}")
|
2025-10-12 04:50:17 +03:00
|
|
|
a.js-setting-menu(data-id="layout-setting")
|
2025-10-17 02:19:43 +03:00
|
|
|
| 🔗
|
2025-10-12 04:50:17 +03:00
|
|
|
| {{_ 'layout'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
li(class="{{#if isWebhookSetting}}active{{/if}}")
|
2025-10-12 04:50:17 +03:00
|
|
|
a.js-setting-menu(data-id="webhook-setting")
|
2025-10-17 02:19:43 +03:00
|
|
|
| 🌐
|
2025-10-12 04:50:17 +03:00
|
|
|
| {{_ 'global-webhook'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
li(class="{{#if isAttachmentSettings}}active{{/if}}")
|
2025-10-12 04:50:17 +03:00
|
|
|
a.js-setting-menu(data-id="attachment-settings")
|
2025-10-17 02:19:43 +03:00
|
|
|
| 📎
|
2025-10-12 05:25:44 +03:00
|
|
|
| {{_ 'attachments'}}
|
2025-10-13 22:17:32 +03:00
|
|
|
li(class="{{#if isCronSettings}}active{{/if}}")
|
2025-10-12 04:50:17 +03:00
|
|
|
a.js-setting-menu(data-id="cron-settings")
|
2025-10-17 02:19:43 +03:00
|
|
|
| ⏰
|
2025-10-12 05:25:44 +03:00
|
|
|
| {{_ 'cron'}}
|
2017-06-21 11:28:00 +09:00
|
|
|
.main-body
|
2025-10-13 22:17:32 +03:00
|
|
|
if isLoading
|
2017-06-21 11:28:00 +09:00
|
|
|
+spinner
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isAttachmentSettings
|
|
|
|
|
ul#attachment-setting.setting-detail
|
|
|
|
|
li
|
|
|
|
|
h3 {{_ 'attachment-storage-configuration'}}
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 'writable-path'}}
|
|
|
|
|
input.wekan-form-control#filesystem-path(type="text" value="{{filesystemPath}}" readonly)
|
|
|
|
|
small.form-text.text-muted {{_ 'filesystem-path-description'}}
|
|
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 'attachments-path'}}
|
|
|
|
|
input.wekan-form-control#attachments-path(type="text" value="{{attachmentsPath}}" readonly)
|
|
|
|
|
small.form-text.text-muted {{_ 'attachments-path-description'}}
|
|
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 'avatars-path'}}
|
|
|
|
|
input.wekan-form-control#avatars-path(type="text" value="{{avatarsPath}}" readonly)
|
|
|
|
|
small.form-text.text-muted {{_ 'avatars-path-description'}}
|
|
|
|
|
|
|
|
|
|
li
|
|
|
|
|
h3 {{_ 'mongodb-gridfs-storage'}}
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 'gridfs-enabled'}}
|
|
|
|
|
input.wekan-form-control#gridfs-enabled(type="checkbox" checked="{{gridfsEnabled}}" disabled)
|
|
|
|
|
small.form-text.text-muted {{_ 'gridfs-enabled-description'}}
|
|
|
|
|
|
|
|
|
|
li
|
|
|
|
|
h3 {{_ 's3-minio-storage'}}
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 's3-enabled'}}
|
|
|
|
|
input.wekan-form-control#s3-enabled(type="checkbox" checked="{{s3Enabled}}" disabled)
|
|
|
|
|
small.form-text.text-muted {{_ 's3-enabled-description'}}
|
|
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 's3-endpoint'}}
|
|
|
|
|
input.wekan-form-control#s3-endpoint(type="text" value="{{s3Endpoint}}" readonly)
|
|
|
|
|
small.form-text.text-muted {{_ 's3-endpoint-description'}}
|
|
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 's3-bucket'}}
|
|
|
|
|
input.wekan-form-control#s3-bucket(type="text" value="{{s3Bucket}}" readonly)
|
|
|
|
|
small.form-text.text-muted {{_ 's3-bucket-description'}}
|
|
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 's3-region'}}
|
|
|
|
|
input.wekan-form-control#s3-region(type="text" value="{{s3Region}}" readonly)
|
|
|
|
|
small.form-text.text-muted {{_ 's3-region-description'}}
|
|
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 's3-access-key'}}
|
|
|
|
|
input.wekan-form-control#s3-access-key(type="text" placeholder="{{_ 's3-access-key-placeholder'}}" readonly)
|
|
|
|
|
small.form-text.text-muted {{_ 's3-access-key-description'}}
|
|
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 's3-secret-key'}}
|
|
|
|
|
input.wekan-form-control#s3-secret-key(type="password" placeholder="{{_ 's3-secret-key-placeholder'}}")
|
|
|
|
|
small.form-text.text-muted {{_ 's3-secret-key-description'}}
|
|
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 's3-ssl-enabled'}}
|
|
|
|
|
input.wekan-form-control#s3-ssl-enabled(type="checkbox" checked="{{s3SslEnabled}}" disabled)
|
|
|
|
|
small.form-text.text-muted {{_ 's3-ssl-enabled-description'}}
|
|
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 's3-port'}}
|
|
|
|
|
input.wekan-form-control#s3-port(type="number" value="{{s3Port}}" readonly)
|
|
|
|
|
small.form-text.text-muted {{_ 's3-port-description'}}
|
|
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
|
button.js-test-s3-connection.btn.btn-secondary {{_ 'test-s3-connection'}}
|
|
|
|
|
button.js-save-s3-settings.btn.btn-primary {{_ 'save-s3-settings'}}
|
|
|
|
|
else if isCronSettings
|
|
|
|
|
ul#cron-setting.setting-detail
|
|
|
|
|
li
|
|
|
|
|
h3 {{_ 'cron-migrations'}}
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 'migration-status'}}
|
|
|
|
|
.status-indicator
|
|
|
|
|
span.status-label {{_ 'status'}}:
|
|
|
|
|
span.status-value {{migrationStatus}}
|
|
|
|
|
.progress-section
|
|
|
|
|
.progress
|
|
|
|
|
.progress-bar(role="progressbar" style="width: {{migrationProgress}}%" aria-valuenow="{{migrationProgress}}" aria-valuemin="0" aria-valuemax="100")
|
|
|
|
|
| {{migrationProgress}}%
|
|
|
|
|
.progress-text
|
|
|
|
|
| {{migrationProgress}}% {{_ 'complete'}}
|
|
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
|
button.js-start-all-migrations.btn.btn-primary {{_ 'start-all-migrations'}}
|
|
|
|
|
button.js-pause-all-migrations.btn.btn-warning {{_ 'pause-all-migrations'}}
|
|
|
|
|
button.js-stop-all-migrations.btn.btn-danger {{_ 'stop-all-migrations'}}
|
|
|
|
|
|
|
|
|
|
li
|
|
|
|
|
h3 {{_ 'board-operations'}}
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 'scheduled-board-operations'}}
|
|
|
|
|
button.js-schedule-board-cleanup.btn.btn-primary {{_ 'schedule-board-cleanup'}}
|
|
|
|
|
button.js-schedule-board-archive.btn.btn-warning {{_ 'schedule-board-archive'}}
|
|
|
|
|
button.js-schedule-board-backup.btn.btn-info {{_ 'schedule-board-backup'}}
|
|
|
|
|
|
|
|
|
|
li
|
|
|
|
|
h3 {{_ 'cron-jobs'}}
|
|
|
|
|
.form-group
|
|
|
|
|
label {{_ 'active-cron-jobs'}}
|
|
|
|
|
each cronJobs
|
|
|
|
|
.job-item
|
|
|
|
|
.job-info
|
|
|
|
|
.job-name {{name}}
|
|
|
|
|
.job-schedule {{schedule}}
|
|
|
|
|
.job-description {{description}}
|
|
|
|
|
.job-actions
|
|
|
|
|
button.js-pause-job.btn.btn-sm.btn-warning(data-job-id="{{_id}}") {{_ 'pause'}}
|
|
|
|
|
button.js-delete-job.btn.btn-sm.btn-danger(data-job-id="{{_id}}") {{_ 'delete'}}
|
|
|
|
|
.add-job-section
|
|
|
|
|
button.js-add-cron-job.btn.btn-success {{_ 'add-cron-job'}}
|
|
|
|
|
else if isGeneralSetting
|
2017-06-21 11:28:00 +09:00
|
|
|
+general
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isEmailSetting
|
2021-03-02 18:45:02 +02:00
|
|
|
unless isSandstorm
|
|
|
|
|
+email
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isAccountSetting
|
2017-08-07 17:40:50 +09:00
|
|
|
+accountSettings
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isTableVisibilityModeSetting
|
2021-08-27 16:25:44 +02:00
|
|
|
+tableVisibilityModeSettings
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isAnnouncementSetting
|
2017-10-01 12:43:15 +09:00
|
|
|
+announcementSettings
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isAccessibilitySetting
|
2024-12-08 17:07:39 +02:00
|
|
|
+accessibilitySettings
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isLayoutSetting
|
2018-10-24 11:39:45 +03:00
|
|
|
+layoutSettings
|
2025-10-13 22:17:32 +03:00
|
|
|
else if isWebhookSetting
|
2019-08-17 19:17:57 -04:00
|
|
|
+webhookSettings
|
|
|
|
|
|
|
|
|
|
template(name="webhookSettings")
|
|
|
|
|
span
|
|
|
|
|
+outgoingWebhooksPopup
|
2017-03-30 19:13:57 +02:00
|
|
|
|
2017-02-24 22:10:38 +08:00
|
|
|
template(name="general")
|
2017-02-26 21:11:15 +08:00
|
|
|
ul#registration-setting.setting-detail
|
2022-02-26 01:29:40 +02:00
|
|
|
li
|
|
|
|
|
a.flex.js-toggle-forgot-password
|
|
|
|
|
.materialCheckBox(class="{{#if currentSetting.disableForgotPassword}}is-checked{{/if}}")
|
|
|
|
|
|
|
|
|
|
span {{_ 'disable-forgot-password'}}
|
2017-02-24 22:10:38 +08:00
|
|
|
li
|
2017-02-26 21:11:15 +08:00
|
|
|
a.flex.js-toggle-registration
|
|
|
|
|
.materialCheckBox(class="{{#if currentSetting.disableRegistration}}is-checked{{/if}}")
|
2017-02-24 22:10:38 +08:00
|
|
|
|
2017-02-26 21:11:15 +08:00
|
|
|
span {{_ 'disable-self-registration'}}
|
2017-02-24 22:10:38 +08:00
|
|
|
li
|
2017-02-26 21:11:15 +08:00
|
|
|
.invite-people(class="{{#if currentSetting.disableRegistration}}{{else}}hide{{/if}}")
|
2017-02-24 22:10:38 +08:00
|
|
|
ul
|
|
|
|
|
li
|
2017-02-26 21:11:15 +08:00
|
|
|
.title {{_ 'invite-people'}}
|
2019-07-24 11:01:30 -04:00
|
|
|
textarea#email-to-invite.wekan-form-control(rows='5', placeholder="{{_ 'email-addresses'}}")
|
2017-02-24 22:10:38 +08:00
|
|
|
li
|
2017-02-26 21:11:15 +08:00
|
|
|
.title {{_ 'to-boards'}}
|
2017-02-24 22:10:38 +08:00
|
|
|
.bg-white
|
|
|
|
|
each boards
|
|
|
|
|
a.option.flex.js-toggle-board-choose(id= _id)
|
|
|
|
|
.materialCheckBox(data-id= _id)
|
|
|
|
|
|
|
|
|
|
span= title
|
|
|
|
|
|
|
|
|
|
li
|
2017-02-26 21:11:15 +08:00
|
|
|
button.js-email-invite.primary {{_ 'invite'}}
|
2017-02-24 22:10:38 +08:00
|
|
|
|
|
|
|
|
template(name='email')
|
|
|
|
|
ul#email-setting.setting-detail
|
2021-03-02 18:45:02 +02:00
|
|
|
//if isSandstorm
|
|
|
|
|
// li.smtp-form
|
|
|
|
|
// .title {{_ 'smtp-host'}}
|
|
|
|
|
// .description {{_ 'smtp-host-description'}}
|
|
|
|
|
// .form-group
|
|
|
|
|
// input.wekan-form-control#mail-server-host(type="text", placeholder="smtp.domain.com" value="{{currentSetting.mailServer.host}}")
|
|
|
|
|
// li.smtp-form
|
|
|
|
|
// .title {{_ 'smtp-port'}}
|
|
|
|
|
// .description {{_ 'smtp-port-description'}}
|
|
|
|
|
// .form-group
|
|
|
|
|
// input.wekan-form-control#mail-server-port(type="text", placeholder="25" value="{{currentSetting.mailServer.port}}")
|
|
|
|
|
// li.smtp-form
|
|
|
|
|
// .title {{_ 'smtp-username'}}
|
|
|
|
|
// .form-group
|
2021-08-27 16:25:44 +02:00
|
|
|
// input.wekan-form-control#mail-server-u"accounts-allowUserNameChange": "Allow Username Change",sername(type="text", placeholder="{{_ 'username'}}" value="{{currentSetting.mailServer.username}}")
|
2021-03-02 18:45:02 +02:00
|
|
|
// li.smtp-form
|
|
|
|
|
// .title {{_ 'smtp-password'}}
|
|
|
|
|
// .form-group
|
|
|
|
|
// input.wekan-form-control#mail-server-password(type="password", placeholder="{{_ 'password'}}" value="")
|
|
|
|
|
// li.smtp-form
|
|
|
|
|
// .title {{_ 'smtp-tls'}}
|
|
|
|
|
// .form-group
|
|
|
|
|
// a.flex.js-toggle-tls
|
|
|
|
|
// .materialCheckBox#mail-server-tls(class="{{#if currentSetting.mailServer.enableTLS}}is-checked{{/if}}")
|
|
|
|
|
//
|
|
|
|
|
// span {{_ 'smtp-tls-description'}}
|
|
|
|
|
//
|
|
|
|
|
// li.smtp-form
|
|
|
|
|
// .title {{_ 'send-from'}}
|
|
|
|
|
// .form-group
|
|
|
|
|
// input.wekan-form-control#mail-server-from(type="email", placeholder="no-reply@domain.com" value="{{currentSetting.mailServer.from}}")
|
|
|
|
|
//
|
|
|
|
|
// li
|
|
|
|
|
// button.js-save.primary {{_ 'save'}}
|
2018-08-20 23:16:24 +03:00
|
|
|
|
2017-11-27 16:44:19 +09:00
|
|
|
li
|
|
|
|
|
button.js-send-smtp-test-email.primary {{_ 'send-smtp-test'}}
|
|
|
|
|
|
2021-08-27 16:25:44 +02:00
|
|
|
template(name='tableVisibilityModeSettings')
|
|
|
|
|
ul#tableVisibilityMode-setting.setting-detail
|
|
|
|
|
li.tableVisibilityMode-form
|
|
|
|
|
.title {{_ 'tableVisibilityMode-allowPrivateOnly'}}
|
|
|
|
|
.form-group.flex
|
|
|
|
|
input.wekan-form-control#accounts-allowPrivateOnly(type="radio" name="allowPrivateOnly" value="true" checked="{{#if allowPrivateOnly}}checked{{/if}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'yes'}}
|
2021-08-27 16:25:44 +02:00
|
|
|
input.wekan-form-control#accounts-allowPrivateOnly(type="radio" name="allowPrivateOnly" value="false" checked="{{#unless allowPrivateOnly}}checked{{/unless}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'no'}}
|
2021-08-27 16:25:44 +02:00
|
|
|
button.js-tableVisibilityMode-save.primary {{_ 'save'}}
|
|
|
|
|
|
2017-08-07 17:40:50 +09:00
|
|
|
template(name='accountSettings')
|
|
|
|
|
ul#account-setting.setting-detail
|
2018-05-07 13:57:23 -03:00
|
|
|
li.accounts-form
|
2017-08-07 17:40:50 +09:00
|
|
|
.title {{_ 'accounts-allowEmailChange'}}
|
|
|
|
|
.form-group.flex
|
2019-07-24 11:01:30 -04:00
|
|
|
input.wekan-form-control#accounts-allowEmailChange(type="radio" name="allowEmailChange" value="true" checked="{{#if allowEmailChange}}checked{{/if}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'yes'}}
|
2019-07-24 11:01:30 -04:00
|
|
|
input.wekan-form-control#accounts-allowEmailChange(type="radio" name="allowEmailChange" value="false" checked="{{#unless allowEmailChange}}checked{{/unless}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'no'}}
|
2018-05-07 13:57:23 -03:00
|
|
|
.title {{_ 'accounts-allowUserNameChange'}}
|
|
|
|
|
.form-group.flex
|
2019-07-24 11:01:30 -04:00
|
|
|
input.wekan-form-control#accounts-allowUserNameChange(type="radio" name="allowUserNameChange" value="true" checked="{{#if allowUserNameChange}}checked{{/if}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'yes'}}
|
2019-07-24 11:01:30 -04:00
|
|
|
input.wekan-form-control#accounts-allowUserNameChange(type="radio" name="allowUserNameChange" value="false" checked="{{#unless allowUserNameChange}}checked{{/unless}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'no'}}
|
2019-07-30 11:57:21 +02:00
|
|
|
.title {{_ 'accounts-allowUserDelete'}}
|
|
|
|
|
.form-group.flex
|
|
|
|
|
input.wekan-form-control#accounts-allowUserDelete(type="radio" name="allowUserDelete" value="true" checked="{{#if allowUserDelete}}checked{{/if}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'yes'}}
|
2019-07-30 11:57:21 +02:00
|
|
|
input.wekan-form-control#accounts-allowUserDelete(type="radio" name="allowUserDelete" value="false" checked="{{#unless allowUserDelete}}checked{{/unless}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'no'}}
|
2017-08-07 17:40:50 +09:00
|
|
|
button.js-accounts-save.primary {{_ 'save'}}
|
2017-09-28 16:57:04 +09:00
|
|
|
|
2025-08-05 00:31:43 +03:00
|
|
|
// Brute force lockout settings moved to People/Locked Users section
|
|
|
|
|
|
2017-10-01 12:43:15 +09:00
|
|
|
template(name='announcementSettings')
|
|
|
|
|
ul#announcement-setting.setting-detail
|
2017-09-28 16:57:04 +09:00
|
|
|
li
|
|
|
|
|
a.flex.js-toggle-activemessage
|
2022-12-13 23:39:17 +01:00
|
|
|
.materialCheckBox(class="{{#if currentAnnouncements.enabled}}is-checked{{/if}}")
|
2017-09-28 16:57:04 +09:00
|
|
|
|
2017-10-01 12:43:15 +09:00
|
|
|
span {{_ 'admin-announcement-active'}}
|
2017-09-28 16:57:04 +09:00
|
|
|
li
|
2022-12-13 23:39:17 +01:00
|
|
|
.admin-announcement(class="{{#if currentAnnouncements.enabled}}{{else}}hide{{/if}}")
|
2017-09-28 16:57:04 +09:00
|
|
|
ul
|
|
|
|
|
li
|
2017-10-01 12:43:15 +09:00
|
|
|
.title {{_ 'admin-announcement-title'}}
|
2022-12-13 23:39:17 +01:00
|
|
|
textarea#admin-announcement.wekan-form-control= currentAnnouncements.body
|
2017-09-28 16:57:04 +09:00
|
|
|
li
|
2017-10-01 12:43:15 +09:00
|
|
|
button.js-announcement-save.primary {{_ 'save'}}
|
2018-10-24 11:39:45 +03:00
|
|
|
|
2024-12-08 17:07:39 +02:00
|
|
|
template(name='accessibilitySettings')
|
|
|
|
|
ul#accessibility-setting.setting-detail
|
2025-08-04 21:22:14 +03:00
|
|
|
li
|
|
|
|
|
a(href="/accessibility" style="text-decoration: underline; color: blue;") {{_ 'accessibility'}}
|
2024-12-08 17:07:39 +02:00
|
|
|
li
|
|
|
|
|
a.flex.js-toggle-accessibility
|
|
|
|
|
.materialCheckBox(class="{{#if currentAccessibility.enabled}}is-checked{{/if}}")
|
|
|
|
|
|
2025-08-04 21:22:14 +03:00
|
|
|
span {{_ 'accessibility-page-enabled'}}
|
2024-12-08 17:07:39 +02:00
|
|
|
li
|
|
|
|
|
.accessibility-content(class="{{#if currentAccessibility.enabled}}{{else}}hide{{/if}}")
|
|
|
|
|
ul
|
|
|
|
|
li
|
2025-08-04 21:22:14 +03:00
|
|
|
.title {{_ 'accessibility-title'}}
|
|
|
|
|
textarea#admin-accessibility-title.wekan-form-control= currentAccessibility.title
|
2024-12-08 17:07:39 +02:00
|
|
|
li
|
2025-08-04 21:22:14 +03:00
|
|
|
.title {{_ 'accessibility-content'}}
|
|
|
|
|
textarea#admin-accessibility-content.wekan-form-control= currentAccessibility.body
|
2024-12-08 17:07:39 +02:00
|
|
|
li
|
|
|
|
|
button.js-accessibility-save.primary {{_ 'save'}}
|
|
|
|
|
|
2018-10-24 11:39:45 +03:00
|
|
|
template(name='layoutSettings')
|
|
|
|
|
ul#layout-setting.setting-detail
|
2023-03-17 21:26:40 +01:00
|
|
|
li
|
|
|
|
|
button.js-all-boards-hide-activities.primary {{_ 'hide-activities-of-all-boards'}}
|
2021-09-15 18:35:09 +02:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'oidc-button-text'}}
|
|
|
|
|
.form-group
|
|
|
|
|
input.wekan-form-control#oidcBtnTextvalue(type="text", placeholder="" value="{{currentSetting.oidcBtnText}}")
|
2021-10-29 18:34:03 +02:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'can-invite-if-same-mailDomainName'}}
|
|
|
|
|
.form-group
|
2021-10-31 19:23:51 +02:00
|
|
|
input.wekan-form-control#mailDomainNamevalue(type="text", placeholder="" value="{{currentSetting.mailDomainName}}")
|
2021-11-25 19:30:49 +01:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'custom-legal-notice-link-url'}}
|
|
|
|
|
.form-group
|
|
|
|
|
input.wekan-form-control#legalNoticevalue(type="text", placeholder="" value="{{currentSetting.legalNotice}}")
|
2019-02-01 19:00:44 +01:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'display-authentication-method'}}
|
|
|
|
|
.form-group.flex
|
2019-07-24 11:01:30 -04:00
|
|
|
input.wekan-form-control#display-authentication-method(type="radio" name="displayAuthenticationMethod" value="true" checked="{{#if currentSetting.displayAuthenticationMethod}}checked{{/if}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'yes'}}
|
2019-07-24 11:01:30 -04:00
|
|
|
input.wekan-form-control#display-authentication-method(type="radio" name="displayAuthenticationMethod" value="false" checked="{{#unless currentSetting.displayAuthenticationMethod}}checked{{/unless}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'no'}}
|
2019-02-01 19:00:44 +01:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'default-authentication-method'}}
|
|
|
|
|
+selectAuthenticationMethod(authenticationMethod=currentSetting.defaultAuthenticationMethod)
|
2021-06-08 19:47:14 +02:00
|
|
|
li.layout-form
|
2021-06-08 19:43:02 +02:00
|
|
|
.title {{_ 'wait-spinner'}}
|
2021-06-08 19:47:14 +02:00
|
|
|
+selectSpinnerName(spinnerName=currentSetting.spinnerName)
|
2018-10-24 11:39:45 +03:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'custom-product-name'}}
|
|
|
|
|
.form-group
|
2019-07-24 11:01:30 -04:00
|
|
|
input.wekan-form-control#product-name(type="text", placeholder="" value="{{currentSetting.productName}}")
|
2020-09-18 18:45:48 +03:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'hide-logo'}}
|
|
|
|
|
.form-group.flex
|
|
|
|
|
input.wekan-form-control#hide-logo(type="radio" name="hideLogo" value="true" checked="{{#if currentSetting.hideLogo}}checked{{/if}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'yes'}}
|
2020-09-18 18:45:48 +03:00
|
|
|
input.wekan-form-control#hide-logo(type="radio" name="hideLogo" value="false" checked="{{#unless currentSetting.hideLogo}}checked{{/unless}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'no'}}
|
2020-09-18 18:45:48 +03:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'custom-login-logo-image-url'}}
|
|
|
|
|
.form-group
|
|
|
|
|
input.wekan-form-control#custom-login-logo-image-url(type="text", placeholder="" value="{{currentSetting.customLoginLogoImageUrl}}")
|
|
|
|
|
li.layout-form
|
2020-09-18 19:20:16 +03:00
|
|
|
.title {{_ 'custom-login-logo-link-url'}}
|
2020-09-18 18:45:48 +03:00
|
|
|
.form-group
|
2020-09-18 19:20:16 +03:00
|
|
|
input.wekan-form-control#custom-login-logo-link-url(type="text", placeholder="" value="{{currentSetting.customLoginLogoLinkUrl}}")
|
2022-09-12 21:36:31 -03:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'custom-help-link-url'}}
|
|
|
|
|
.form-group
|
|
|
|
|
input.wekan-form-control#custom-help-link-url(type="text", placeholder="" value="{{currentSetting.customHelpLinkUrl}}")
|
2020-10-03 00:21:19 +03:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'text-below-custom-login-logo'}}
|
|
|
|
|
.form-group
|
|
|
|
|
textarea#text-below-custom-login-logo.wekan-form-control= currentSetting.textBelowCustomLoginLogo
|
2020-09-18 18:45:48 +03:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'custom-top-left-corner-logo-image-url'}}
|
|
|
|
|
.form-group
|
|
|
|
|
input.wekan-form-control#custom-top-left-corner-logo-image-url(type="text", placeholder="" value="{{currentSetting.customTopLeftCornerLogoImageUrl}}")
|
|
|
|
|
li.layout-form
|
2020-09-18 19:20:16 +03:00
|
|
|
.title {{_ 'custom-top-left-corner-logo-link-url'}}
|
2020-09-18 18:45:48 +03:00
|
|
|
.form-group
|
2020-09-18 19:20:16 +03:00
|
|
|
input.wekan-form-control#custom-top-left-corner-logo-link-url(type="text", placeholder="" value="{{currentSetting.customTopLeftCornerLogoLinkUrl}}")
|
2020-11-02 17:53:01 +02:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'custom-top-left-corner-logo-height'}}
|
|
|
|
|
.form-group
|
|
|
|
|
input.wekan-form-control#custom-top-left-corner-logo-height(type="text", placeholder="" value="{{currentSetting.customTopLeftCornerLogoHeight}}")
|
2021-03-04 16:36:48 +01:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'automatic-linked-url-schemes'}}
|
|
|
|
|
.form-group
|
|
|
|
|
textarea#automatic-linked-url-schemes.wekan-form-control= currentSetting.automaticLinkedUrlSchemes
|
2022-09-16 11:02:25 -03:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'hide-card-counter-list'}}
|
|
|
|
|
.form-group.flex
|
|
|
|
|
input.wekan-form-control#hide-card-counter-list(type="radio" name="hideCardCounterList" value="true" checked="{{#if currentSetting.hideCardCounterList}}checked{{/if}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'yes'}}
|
2022-09-16 11:02:25 -03:00
|
|
|
input.wekan-form-control#hide-card-counter-list(type="radio" name="hideCardCounterList" value="false" checked="{{#unless currentSetting.hideCardCounterList}}checked{{/unless}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'no'}}
|
2022-09-16 11:02:25 -03:00
|
|
|
li.layout-form
|
|
|
|
|
.title {{_ 'hide-board-member-list'}}
|
|
|
|
|
.form-group.flex
|
|
|
|
|
input.wekan-form-control#hide-board-member-list(type="radio" name="hideBoardMemberList" value="true" checked="{{#if currentSetting.hideBoardMemberList}}checked{{/if}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'yes'}}
|
2022-09-16 11:02:25 -03:00
|
|
|
input.wekan-form-control#hide-board-member-list(type="radio" name="hideBoardMemberList" value="false" checked="{{#unless currentSetting.hideBoardMemberList}}checked{{/unless}}")
|
2024-08-28 14:23:35 +03:00
|
|
|
label {{_ 'no'}}
|
2018-10-24 11:39:45 +03:00
|
|
|
li
|
|
|
|
|
button.js-save-layout.primary {{_ 'save'}}
|
2019-02-01 19:00:44 +01:00
|
|
|
|
|
|
|
|
template(name='selectAuthenticationMethod')
|
|
|
|
|
select#defaultAuthenticationMethod
|
|
|
|
|
each authentications
|
|
|
|
|
if isSelected value
|
|
|
|
|
option(value="{{value}}" selected) {{_ value}}
|
|
|
|
|
else
|
2019-03-21 20:27:21 +02:00
|
|
|
option(value="{{value}}") {{_ value}}
|
2021-06-08 19:47:14 +02:00
|
|
|
|
|
|
|
|
template(name='selectSpinnerName')
|
|
|
|
|
select#spinnerName
|
|
|
|
|
each spinner in spinners
|
|
|
|
|
if isSelected spinner
|
2021-06-11 20:35:27 +03:00
|
|
|
option(value="{{spinner}}" selected) {{_ spinner}}
|
2021-06-08 19:47:14 +02:00
|
|
|
else
|
2021-06-11 20:35:27 +03:00
|
|
|
option(value="{{spinner}}") {{_ spinner}}
|