mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
dont show list options
This commit is contained in:
parent
383daf6f64
commit
cf85c9c6cd
2 changed files with 11 additions and 11 deletions
|
@ -26,16 +26,17 @@ template(name="listActionPopup")
|
|||
ul.pop-over-list
|
||||
li: a.js-toggle-watch-list {{#if isWatching}}{{_ 'unwatch'}}{{else}}{{_ 'watch'}}{{/if}}
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-add-card {{_ 'add-card'}}
|
||||
if cards.count
|
||||
li: a.js-select-cards {{_ 'list-select-cards'}}
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-close-list {{_ 'archive-list'}}
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-remove-list {{_ 'remove-list'}}
|
||||
unless currentUser.isCommentOnly
|
||||
ul.pop-over-list
|
||||
li: a.js-add-card {{_ 'add-card'}}
|
||||
if cards.count
|
||||
li: a.js-select-cards {{_ 'list-select-cards'}}
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-close-list {{_ 'archive-list'}}
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-remove-list {{_ 'remove-list'}}
|
||||
|
||||
template(name="boardLists")
|
||||
ul.pop-over-list
|
||||
|
|
|
@ -323,7 +323,6 @@ Template.changePermissionsPopup.events({
|
|||
const memberId = this.userId;
|
||||
const isAdmin = $(event.currentTarget).hasClass('js-set-admin');
|
||||
const isCommentOnly = $(event.currentTarget).hasClass('js-set-comment-only');
|
||||
console.log(isCommentOnly)
|
||||
currentBoard.setMemberPermission(memberId, isAdmin, isCommentOnly);
|
||||
Popup.back(1);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue