mirror of
https://github.com/wekan/wekan.git
synced 2026-03-13 08:56:13 +01:00
* Implement visibility choice on board creation;
* Rework the board header bar. Remove links to un-implemented
features;
* Implement a board star counter (visible if the board have >2 stars);
* Define a new icon (a thin cross) to close elements;
* Remove $(document).on('mouseover') event handlers that were
basically fired hundreds of times for nothing, we now define a proper
Tracker dependency to execute jquery-ui plugin initialization only
when something has changed;
* Bug fixes related to list scrolling.
27 lines
1 KiB
Text
27 lines
1 KiB
Text
template(name="minicard")
|
|
.minicard.card.js-minicard(
|
|
class="{{#if isSelected}}is-selected{{/if}}")
|
|
a.minicard-details.clearfix.show(href=absoluteUrl)
|
|
if cover
|
|
.minicard-cover.js-card-cover(style="background-image: url({{cover.url}});")
|
|
if labels
|
|
.minicard-labels
|
|
each labels
|
|
.minicard-label(class="card-label-{{color}}" title="{{name}}")
|
|
.minicard-title= title
|
|
if members
|
|
.minicard-members.js-minicard-members
|
|
each members
|
|
+userAvatar(userId=this size="small" cardId="{{../_id}}")
|
|
.badges
|
|
if comments.count
|
|
.badge(title="{{_ 'card-comments-title' comments.count }}")
|
|
span.badge-icon.icon-sm.fa.fa-comment-o
|
|
.badge-text= comments.count
|
|
if description
|
|
.badge.badge-state-image-only(title=description)
|
|
span.badge-icon.icon-sm.fa.fa-align-left
|
|
if attachments.count
|
|
.badge
|
|
span.badge-icon.icon-sm.fa.fa-paperclip
|
|
span.badge-text= attachments.count
|