|
@@ -42,12 +42,12 @@ template(name="cardDetails")
|
|
|
else
|
|
|
p.warning {{_ 'card-archived'}}
|
|
|
|
|
|
- .card-details-items
|
|
|
+ .card-details-items
|
|
|
if currentBoard.allowsLabels
|
|
|
.card-details-item.card-details-item-labels
|
|
|
h3.card-details-item-title
|
|
|
i.fa.fa-tags
|
|
|
- | {{_ 'labels'}}
|
|
|
+ | {{_ 'labels'}}
|
|
|
a(class="{{#if canModifyCard}}js-add-labels{{else}}is-disabled{{/if}}" title="{{_ 'card-labels-title'}}")
|
|
|
each labels
|
|
|
span.card-label(class="card-label-{{color}}" title=name)
|
|
@@ -57,7 +57,7 @@ template(name="cardDetails")
|
|
|
unless currentUser.isWorker
|
|
|
a.card-label.add-label.js-add-labels(title="{{_ 'card-labels-title'}}")
|
|
|
i.fa.fa-plus
|
|
|
-
|
|
|
+
|
|
|
if currentBoard.allowsReceivedDate
|
|
|
hr
|
|
|
.card-details-item.card-details-item-received
|
|
@@ -245,8 +245,7 @@ template(name="cardDetails")
|
|
|
| {{_ 'description'}}
|
|
|
if currentBoard.allowsDescriptionText
|
|
|
+inlinedCardDescription(classNames="card-description js-card-description")
|
|
|
- +editor(autofocus=true)
|
|
|
- | {{getUnsavedValue 'cardDescription' _id getDescription}}
|
|
|
+ +descriptionForm
|
|
|
.edit-controls.clearfix
|
|
|
button.primary(type="submit") {{_ 'save'}}
|
|
|
a.fa.fa-times-thin.js-close-inlined-form
|