mirror of
https://github.com/wekan/wekan.git
synced 2025-12-21 18:00:12 +01:00
Removed not needed | at left side of minicard badges.
Thanks to xet7 !
This commit is contained in:
parent
de20424885
commit
a0c30c35ed
1 changed files with 9 additions and 9 deletions
|
|
@ -141,7 +141,7 @@ template(name="minicard")
|
||||||
if canModifyCard
|
if canModifyCard
|
||||||
if comments.length
|
if comments.length
|
||||||
.badge(title="{{_ 'card-comments-title' comments.length }}")
|
.badge(title="{{_ 'card-comments-title' comments.length }}")
|
||||||
span.badge-icon.badge-comment.badge-text | 💬
|
span.badge-icon.badge-comment.badge-text 💬
|
||||||
= ' '
|
= ' '
|
||||||
= comments.length
|
= comments.length
|
||||||
//span.badge-comment.badge-text
|
//span.badge-comment.badge-text
|
||||||
|
|
@ -149,36 +149,36 @@ template(name="minicard")
|
||||||
if getDescription
|
if getDescription
|
||||||
unless currentBoard.allowsDescriptionTextOnMinicard
|
unless currentBoard.allowsDescriptionTextOnMinicard
|
||||||
.badge.badge-state-image-only(title=getDescription)
|
.badge.badge-state-image-only(title=getDescription)
|
||||||
span.badge-icon | 📝
|
span.badge-icon 📝
|
||||||
if getVoteQuestion
|
if getVoteQuestion
|
||||||
.badge.badge-state-image-only(title=getVoteQuestion)
|
.badge.badge-state-image-only(title=getVoteQuestion)
|
||||||
span.badge-icon(class="{{#if voteState}}text-green{{/if}}") | 👍
|
span.badge-icon(class="{{#if voteState}}text-green{{/if}}") 👍
|
||||||
span.badge-text {{ voteCountPositive }}
|
span.badge-text {{ voteCountPositive }}
|
||||||
span.badge-icon(class="{{#if $eq voteState false}}text-red{{/if}}") | 👎
|
span.badge-icon(class="{{#if $eq voteState false}}text-red{{/if}}") 👎
|
||||||
span.badge-text {{ voteCountNegative }}
|
span.badge-text {{ voteCountNegative }}
|
||||||
if getPokerQuestion
|
if getPokerQuestion
|
||||||
.badge.badge-state-image-only(title=getPokerQuestion)
|
.badge.badge-state-image-only(title=getPokerQuestion)
|
||||||
span.badge-icon(class="{{#if pokerState}}text-green{{/if}}") | ✅
|
span.badge-icon(class="{{#if pokerState}}text-green{{/if}}") ✅
|
||||||
if expiredPoker
|
if expiredPoker
|
||||||
span.badge-text {{ getPokerEstimation }}
|
span.badge-text {{ getPokerEstimation }}
|
||||||
if attachments.length
|
if attachments.length
|
||||||
if currentBoard.allowsBadgeAttachmentOnMinicard
|
if currentBoard.allowsBadgeAttachmentOnMinicard
|
||||||
.badge
|
.badge
|
||||||
span.badge-icon | 📎
|
span.badge-icon 📎
|
||||||
span.badge-text= attachments.length
|
span.badge-text= attachments.length
|
||||||
if checklists.length
|
if checklists.length
|
||||||
.badge(class="{{#if checklistFinished}}is-finished{{/if}}")
|
.badge(class="{{#if checklistFinished}}is-finished{{/if}}")
|
||||||
span.badge-icon | ☑️
|
span.badge-icon ☑️
|
||||||
span.badge-text.check-list-text {{checklistFinishedCount}}/{{checklistItemCount}}
|
span.badge-text.check-list-text {{checklistFinishedCount}}/{{checklistItemCount}}
|
||||||
if allSubtasks.count
|
if allSubtasks.count
|
||||||
.badge
|
.badge
|
||||||
span.badge-icon | 🌐
|
span.badge-icon 🌐
|
||||||
span.badge-text.check-list-text {{subtasksFinishedCount}}/{{allSubtasksCount}}
|
span.badge-text.check-list-text {{subtasksFinishedCount}}/{{allSubtasksCount}}
|
||||||
//{{subtasksFinishedCount}}/{{subtasksCount}} does not work because when a subtaks is archived, the count goes down
|
//{{subtasksFinishedCount}}/{{subtasksCount}} does not work because when a subtaks is archived, the count goes down
|
||||||
if currentBoard.allowsCardSortingByNumber
|
if currentBoard.allowsCardSortingByNumber
|
||||||
if currentBoard.allowsCardSortingByNumberOnMinicard
|
if currentBoard.allowsCardSortingByNumberOnMinicard
|
||||||
.badge
|
.badge
|
||||||
span.badge-icon | 🔢
|
span.badge-icon 🔢
|
||||||
span.badge-text.check-list-sort {{ sort }}
|
span.badge-text.check-list-sort {{ sort }}
|
||||||
if currentBoard.allowsDescriptionTextOnMinicard
|
if currentBoard.allowsDescriptionTextOnMinicard
|
||||||
if getDescription
|
if getDescription
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue