Browse Source

Assignee field like Jira #2452 , in progress.

Lauri Ojansivu 5 years ago
parent
commit
ea823ab68f

+ 1 - 1
client/components/cards/cardDetails.jade

@@ -325,7 +325,7 @@ template(name="userAvatarAssignee")
       +userAvatarAssigneeInitials(userId=userData._id)
 
     if showStatus
-      span.member-presence-status(class=presenceStatusClassName)
+      span.assignee-presence-status(class=presenceStatusClassName)
       span.member-type(class=memberType)
 
     unless isSandstorm

+ 0 - 45
client/components/cards/cardDetails.styl

@@ -62,23 +62,6 @@ avatar-radius = 50%
       background: #e44242
       border-color: #f1dada
 
-  .edit-avatar
-    position: absolute
-    top: 0
-    height: 100%
-    width: 100%
-    border-radius: avatar-radius
-    background: black
-    display: flex
-    align-items: center
-    justify-content: center
-    opacity: 0
-
-    &:hover
-      opacity: 0.6
-
-    i.fa-pencil
-      color: white
 
 
   &.add-assignee
@@ -90,34 +73,6 @@ avatar-radius = 50%
     &:hover, &.is-active
       box-shadow: 0 0 0 2px darken(white, 60%) inset
 
-.atMention
-  background: #dbdbdb
-  border-radius: 3px
-  padding: 1px 4px
-  margin: -1px 0
-  display: inline-block
-
-  &.me
-    background: #cfdfe8
-
-.mini-profile-info
-  margin-top: 10px
-
-  .info
-    padding-top: 5px
-
-    h3, p
-      margin-bottom: 0
-      padding-left: 0
-
-    p
-      padding-top: 0
-
-  .assignee
-    width: 50px
-    height: @width
-    margin-right: 10px
-
 // Other card details
 
 .card-details

+ 4 - 2
client/components/main/popup.styl

@@ -130,7 +130,8 @@ $popupWidth = 300px
     .popup-container-depth-{depth}
       transform: translateX(- depth * $popupWidth)
 
-.select-members-list
+.select-members-list,
+.select-avatars-list
   margin-bottom: 8px
 
 .pop-over-list
@@ -230,7 +231,8 @@ $popupWidth = 300px
     min-height: 56px
     position: relative
 
-    .member
+    .member,
+    .avatar
       position: absolute
       top: 2px
       left: 2px