mirror of
https://github.com/wekan/wekan.git
synced 2026-02-12 11:14:21 +01:00
Move every CardComments.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)
This commit is contained in:
parent
fef6433b75
commit
25989b9736
6 changed files with 11 additions and 11 deletions
|
|
@ -129,11 +129,11 @@ template(name="minicard")
|
|||
|
||||
.badges
|
||||
unless currentUser.isNoComments
|
||||
if comments.count
|
||||
.badge(title="{{_ 'card-comments-title' comments.count }}")
|
||||
if comments.length
|
||||
.badge(title="{{_ 'card-comments-title' comments.length }}")
|
||||
span.badge-icon.fa.fa-comment-o.badge-comment
|
||||
= ' '
|
||||
= comments.count
|
||||
= comments.length
|
||||
//span.badge-comment.badge-text
|
||||
//| {{_ 'comment'}}
|
||||
if getDescription
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue