mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Allow Normal user to add new swimlane, list and label.
Thanks to RyanHecht, norrig and xet7 ! Fixes #4276, fixes #4785
This commit is contained in:
parent
82aa3fb7ee
commit
04b995e77f
3 changed files with 4 additions and 6 deletions
|
|
@ -37,5 +37,4 @@ template(name="cardLabelsPopup")
|
|||
= name
|
||||
if(isLabelSelected ../_id)
|
||||
i.card-label-selectable-icon.fa.fa-check
|
||||
if currentUser.isBoardAdmin
|
||||
a.quiet-button.full.js-add-label {{_ 'label-create'}}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ template(name="swimlaneFixedHeader")
|
|||
| {{isTitleDefault title}}
|
||||
.swimlane-header-menu
|
||||
unless currentUser.isCommentOnly
|
||||
if currentUser.isBoardAdmin
|
||||
a.fa.fa-plus.js-open-add-swimlane-menu.swimlane-header-plus-icon(title="{{_ 'add-swimlane'}}")
|
||||
a.fa.fa-navicon.js-open-swimlane-menu(title="{{_ 'swimlaneActionPopup-title'}}")
|
||||
//// TODO: Collapse Swimlane: make button working, etc.
|
||||
|
|
|
|||
|
|
@ -46,8 +46,8 @@ template(name="listsGroup")
|
|||
|
||||
template(name="addListForm")
|
||||
unless currentUser.isWorker
|
||||
unless currentUser.isCommentOnly
|
||||
.list.list-composer.js-list-composer(class="{{#if isMiniScreen}}mini-list{{/if}}")
|
||||
if currentUser.isBoardAdmin
|
||||
.list-header-add
|
||||
+inlinedForm(autoclose=false)
|
||||
input.list-name-input.full-line(type="text" placeholder="{{_ 'add-list'}}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue