mirror of
https://github.com/wekan/wekan.git
synced 2026-02-13 11:44:20 +01:00
Add Worker role.
Add more Font Awesome icons. Fix browser console errors when editing user profile name etc. Thanks to xet7 ! Closes #2788
This commit is contained in:
parent
0709b5abc8
commit
2bf004120d
37 changed files with 683 additions and 320 deletions
|
|
@ -139,3 +139,12 @@ BlazeComponent.extendComponent({
|
|||
];
|
||||
},
|
||||
}).register('archivesSidebar');
|
||||
|
||||
Template.archivesSidebar.helpers({
|
||||
isWorker() {
|
||||
const currentBoard = Boards.findOne(Session.get('currentBoard'));
|
||||
return (
|
||||
!currentBoard.hasAdmin(this.userId) && currentBoard.hasWorker(this.userId)
|
||||
);
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue