diff options
Diffstat (limited to 'client/components/cards/cardDetails.jade')
-rw-r--r-- | client/components/cards/cardDetails.jade | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 0282aa77..3f2ae34a 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -2,10 +2,7 @@ template(name="cardDetails") section.card-details.js-card-details.js-perfect-scrollbar: .card-details-canvas .card-details-header +inlinedForm(classNames="js-card-details-title") - input.full-line(type="text" value=title autofocus) - .edit-controls.clearfix - button.primary.confirm(type="submit") {{_ 'save'}} - a.fa.fa-times-thin.js-close-inlined-form + +editCardTitleForm else a.fa.fa-times-thin.close-card-details.js-close-card-details if currentUser.isBoardMember @@ -77,6 +74,13 @@ template(name="cardDetails") if isLoaded.get +activities(card=this mode="card") +template(name="editCardTitleForm") + textarea.js-edit-card-title(rows='1' autofocus) + = title + .edit-controls.clearfix + button.primary.confirm.js-submit-edit-card-title-form(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + template(name="cardDetailsActionsPopup") ul.pop-over-list li: a.js-members {{_ 'card-edit-members'}} |