diff options
author | shoetten <simon@hoetten.org> | 2016-02-05 20:23:09 +0100 |
---|---|---|
committer | shoetten <simon@hoetten.org> | 2016-11-21 15:15:16 +0100 |
commit | d4497d7aeb968dbb9f8c4b84fbcc0f7cc3668167 (patch) | |
tree | 80a91f0005202039d6120208e126f2f383ea7bf2 /client/components/cards/cardDetails.jade | |
parent | 182c9af123c1f7e2fb7318d704f740f93a3da12f (diff) | |
download | wekan-d4497d7aeb968dbb9f8c4b84fbcc0f7cc3668167.tar.gz wekan-d4497d7aeb968dbb9f8c4b84fbcc0f7cc3668167.tar.bz2 wekan-d4497d7aeb968dbb9f8c4b84fbcc0f7cc3668167.zip |
Add basic start and due dates for cards.
Diffstat (limited to 'client/components/cards/cardDetails.jade')
-rw-r--r-- | client/components/cards/cardDetails.jade | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 734fc7e3..69725d76 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -35,6 +35,17 @@ template(name="cardDetails") a.card-label.add-label.js-add-labels(title="{{_ 'card-labels-title'}}") i.fa.fa-plus + if startAt + .card-details-item.card-details-item-start + h3.card-details-item-title {{_ 'start-at'}} + +cardStartDate + + if dueAt + .card-details-item.card-details-item-due + h3.card-details-item-title {{_ 'due-at'}} + +cardDueDate + + //- XXX We should use "editable" to avoid repetiting ourselves if currentUser.isBoardMember h3.card-details-item-title {{_ 'description'}} @@ -91,6 +102,8 @@ template(name="cardDetailsActionsPopup") li: a.js-members {{_ 'card-edit-members'}} li: a.js-labels {{_ 'card-edit-labels'}} li: a.js-attachments {{_ 'card-edit-attachments'}} + li: a.js-start-date {{_ 'editCardStartDatePopup-title'}} + li: a.js-due-date {{_ 'editCardDueDatePopup-title'}} hr ul.pop-over-list li: a.js-move-card-to-top {{_ 'moveCardToTop-title'}} |