mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00:13 +01:00
Changed Sandstorm menus to be more similar like other Wekan versions, make Export visible, etc.
Thanks to PizzaProgram and xet7 ! Related #3423
This commit is contained in:
parent
758b829a3c
commit
103d03d4c8
2 changed files with 27 additions and 74 deletions
|
|
@ -288,17 +288,6 @@ template(name="boardMenuPopup")
|
||||||
a.js-change-board-color
|
a.js-change-board-color
|
||||||
i.fa.fa-paint-brush
|
i.fa.fa-paint-brush
|
||||||
| {{_ 'board-change-color'}}
|
| {{_ 'board-change-color'}}
|
||||||
|
|
||||||
//-
|
|
||||||
XXX Language should be handled by sandstorm, but for now display a
|
|
||||||
language selection link in the board menu. This link is normally present
|
|
||||||
in the header bar that is not displayed on sandstorm.
|
|
||||||
if isSandstorm
|
|
||||||
li
|
|
||||||
a.js-change-language
|
|
||||||
i.fa.fa-flag
|
|
||||||
| {{_ 'language'}}
|
|
||||||
unless isSandstorm
|
|
||||||
hr
|
hr
|
||||||
ul.pop-over-list
|
ul.pop-over-list
|
||||||
if withApi
|
if withApi
|
||||||
|
|
@ -329,42 +318,6 @@ template(name="boardMenuPopup")
|
||||||
i.fa.fa-archive
|
i.fa.fa-archive
|
||||||
| {{_ 'archive-board'}}
|
| {{_ 'archive-board'}}
|
||||||
|
|
||||||
if isSandstorm
|
|
||||||
hr
|
|
||||||
ul.pop-over-list
|
|
||||||
if currentUser.isMember
|
|
||||||
li
|
|
||||||
a.js-export-board
|
|
||||||
i.fa.fa-share-alt
|
|
||||||
| {{_ 'export-board'}}
|
|
||||||
li
|
|
||||||
a.js-import-board
|
|
||||||
i.fa.fa-share-alt
|
|
||||||
i.fa.fa-sign-in
|
|
||||||
| {{_ 'import-board-c'}}
|
|
||||||
if currentUser.isBoardAdmin
|
|
||||||
li
|
|
||||||
a.js-archive-board
|
|
||||||
i.fa.fa-arrow-right
|
|
||||||
i.fa.fa-archive
|
|
||||||
| {{_ 'archive-board'}}
|
|
||||||
li
|
|
||||||
a.js-outgoing-webhooks
|
|
||||||
i.fa.fa-globe
|
|
||||||
| {{_ 'outgoing-webhooks'}}
|
|
||||||
hr
|
|
||||||
ul.pop-over-list
|
|
||||||
li
|
|
||||||
a.js-card-settings
|
|
||||||
i.fa.fa-id-card-o
|
|
||||||
| {{_ 'card-settings'}}
|
|
||||||
hr
|
|
||||||
ul.pop-over-list
|
|
||||||
li
|
|
||||||
a.js-subtask-settings
|
|
||||||
i.fa.fa-sitemap
|
|
||||||
| {{_ 'subtask-settings'}}
|
|
||||||
|
|
||||||
template(name="exportBoard")
|
template(name="exportBoard")
|
||||||
ul.pop-over-list
|
ul.pop-over-list
|
||||||
li
|
li
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue