mirror of
https://github.com/wekan/wekan.git
synced 2026-02-10 18:24:21 +01:00
Reverted New UI Design of WeKan v8.29 and added more fixes and performance improvements.
Thanks to xet7 !
This commit is contained in:
parent
d152d8fc1b
commit
1b8b8d2eef
196 changed files with 17659 additions and 10028 deletions
|
|
@ -34,10 +34,10 @@ Template.userAvatar.helpers({
|
|||
memberType() {
|
||||
const user = ReactiveCache.getUser(this.userId);
|
||||
if (!user) return '';
|
||||
|
||||
|
||||
const board = Utils.getCurrentBoard();
|
||||
if (!board) return '';
|
||||
|
||||
|
||||
// Return role in priority order: Admin, Normal, NormalAssignedOnly, NoComments, CommentOnly, CommentAssignedOnly, Worker, ReadOnly, ReadAssignedOnly
|
||||
if (user.isBoardAdmin()) return 'admin';
|
||||
if (board.hasReadAssignedOnly(user._id)) return 'read-assigned-only';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue