summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-11-07 06:04:23 +0200
committerLauri Ojansivu <x@xet7.org>2019-11-07 06:04:23 +0200
commit9fd14f7ecb593d3debf5adff8f6c61adb0c3feca (patch)
treea90333b897c9e6983be6241d3dcb449b5da9bcf7
parent3cf09efb13438d66db6cf739591c679ea538d812 (diff)
downloadwekan-9fd14f7ecb593d3debf5adff8f6c61adb0c3feca.tar.gz
wekan-9fd14f7ecb593d3debf5adff8f6c61adb0c3feca.tar.bz2
wekan-9fd14f7ecb593d3debf5adff8f6c61adb0c3feca.zip
Assignee field like Jira #2452 , in progress.
Now assignee is visible also at minicard. Thanks to xet7 !
-rw-r--r--client/components/cards/minicard.jade6
-rw-r--r--client/components/cards/minicard.styl14
2 files changed, 17 insertions, 3 deletions
diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade
index ba0c5707..79672f8c 100644
--- a/client/components/cards/minicard.jade
+++ b/client/components/cards/minicard.jade
@@ -76,6 +76,12 @@ template(name="minicard")
+viewer
= trueValue
+ if getAssignees
+ .minicard-assignees.js-minicard-assignees
+ each getAssignees
+ +userAvatar(userId=this)
+ hr
+
if getMembers
.minicard-members.js-minicard-members
each getMembers
diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl
index 9997fd5f..8607e118 100644
--- a/client/components/cards/minicard.styl
+++ b/client/components/cards/minicard.styl
@@ -160,9 +160,10 @@
padding-left: 0px
line-height: 12px
- .minicard-members
+ .minicard-members,
+ .minicard-assignees
float: right
- margin: 2px -8px -2px 0
+ margin: 2px -8px 12px 0
.member
float: right
@@ -170,10 +171,17 @@
height: 28px
width: @height
+ .assignee
+ float: right
+ border-radius: 50%
+ height: 28px
+ width: @height
+
+ .badges
margin-top: 10px
- .minicard-members:empty
+ .minicard-members:empty,
+ .minicard-assignees:empty
display: none
&.minicard-composer