mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Only show Board name edit button to BoardAdmin.
Thanks to xet7 !
This commit is contained in:
parent
79e2001708
commit
5e2b423ef8
1 changed files with 3 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ template(name="boardHeaderBar")
|
|||
if currentBoard
|
||||
if currentUser
|
||||
with currentBoard
|
||||
if currentUser.isBoardAdmin
|
||||
a.board-header-btn(class="{{#if currentUser.isBoardAdmin}}js-edit-board-title{{else}}is-disabled{{/if}}" title="{{_ 'edit'}}" value=title)
|
||||
i.fa.fa-pencil-square-o
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue