mirror of
https://github.com/wekan/wekan.git
synced 2026-03-02 03:40:16 +01:00
Merge pull request #4454 from helioguardabaxo/master
Show description text on minicard
This commit is contained in:
commit
4534177f47
8 changed files with 76 additions and 2 deletions
|
|
@ -114,8 +114,9 @@ template(name="minicard")
|
|||
//span.badge-comment.badge-text
|
||||
//| {{_ 'comment'}}
|
||||
if getDescription
|
||||
.badge.badge-state-image-only(title=getDescription)
|
||||
span.badge-icon.fa.fa-align-left
|
||||
unless currentBoard.allowsDescriptionTextOnMinicard
|
||||
.badge.badge-state-image-only(title=getDescription)
|
||||
span.badge-icon.fa.fa-align-left
|
||||
if getVoteQuestion
|
||||
.badge.badge-state-image-only(title=getVoteQuestion)
|
||||
span.badge-icon.fa.fa-thumbs-up(class="{{#if voteState}}text-green{{/if}}")
|
||||
|
|
@ -144,6 +145,10 @@ template(name="minicard")
|
|||
.badge
|
||||
span.badge-icon.fa.fa-sort
|
||||
span.badge-text.check-list-sort {{ sort }}
|
||||
if currentBoard.allowsDescriptionTextOnMinicard
|
||||
if getDescription
|
||||
.minicard-description
|
||||
| {{ getDescription }}
|
||||
|
||||
template(name="editCardSortOrderPopup")
|
||||
input.js-edit-card-sort-popup(type='text' autofocus value=sort dir="auto")
|
||||
|
|
|
|||
|
|
@ -201,6 +201,16 @@
|
|||
.minicard-assignees:empty
|
||||
display: none
|
||||
|
||||
.minicard-description {
|
||||
padding: 6px 0 6px 8px
|
||||
background-color: #eee
|
||||
width: 100%
|
||||
margin-bottom: 2px
|
||||
margin-left: -4px
|
||||
border-radius: 3px
|
||||
display: inline-block
|
||||
}
|
||||
|
||||
&.minicard-composer
|
||||
margin-bottom: 10px
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue