mirror of
https://github.com/wekan/wekan.git
synced 2026-02-24 08:54:06 +01:00
Fix Admin Panel menus "Attachment Settings" and "Cron Settings" and make them translateable.
Thanks to xet7 !
This commit is contained in:
parent
f5d40a0a12
commit
033919a270
6 changed files with 190 additions and 109 deletions
|
|
@ -1,39 +1,15 @@
|
|||
template(name="cronSettings")
|
||||
.setting-content.cron-settings-content
|
||||
unless currentUser.isAdmin
|
||||
| {{_ 'error-notAuthorized'}}
|
||||
else
|
||||
.content-body
|
||||
.side-menu
|
||||
ul
|
||||
li
|
||||
a.js-cron-migrations(data-id="cron-migrations")
|
||||
i.fa.fa-database
|
||||
| {{_ 'cron-migrations'}}
|
||||
li
|
||||
a.js-cron-board-operations(data-id="cron-board-operations")
|
||||
i.fa.fa-tasks
|
||||
| {{_ 'board-operations'}}
|
||||
li
|
||||
a.js-cron-jobs(data-id="cron-jobs")
|
||||
i.fa.fa-clock-o
|
||||
| {{_ 'cron-jobs'}}
|
||||
li
|
||||
a.js-cron-add(data-id="cron-add")
|
||||
i.fa.fa-plus
|
||||
| {{_ 'add-cron-job'}}
|
||||
|
||||
.main-body
|
||||
if loading.get
|
||||
+spinner
|
||||
else if showMigrations.get
|
||||
+cronMigrations
|
||||
else if showBoardOperations.get
|
||||
+cronBoardOperations
|
||||
else if showJobs.get
|
||||
+cronJobs
|
||||
else if showAddJob.get
|
||||
+cronAddJob
|
||||
.cron-settings-content
|
||||
if loading.get
|
||||
+spinner
|
||||
else if showMigrations.get
|
||||
+cronMigrations
|
||||
else if showBoardOperations.get
|
||||
+cronBoardOperations
|
||||
else if showJobs.get
|
||||
+cronJobs
|
||||
else if showAddJob.get
|
||||
+cronAddJob
|
||||
|
||||
template(name="cronMigrations")
|
||||
.cron-migrations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue