2015-05-24 12:30:58 +02:00
|
|
|
template(name="cardDetails")
|
2015-06-12 13:59:39 +02:00
|
|
|
section.card-details.js-card-details.js-perfect-scrollbar: .card-details-canvas
|
2018-07-24 18:18:40 +02:00
|
|
|
.card-details-header(class='{{#if colorClass}}card-details-{{colorClass}}{{/if}}')
|
2015-06-05 21:37:13 +02:00
|
|
|
+inlinedForm(classNames="js-card-details-title")
|
2015-12-31 20:36:30 +05:30
|
|
|
+editCardTitleForm
|
2015-06-05 21:37:13 +02:00
|
|
|
else
|
2015-08-30 16:01:28 +02:00
|
|
|
a.fa.fa-times-thin.close-card-details.js-close-card-details
|
2015-08-28 12:15:29 +02:00
|
|
|
if currentUser.isBoardMember
|
2015-12-17 14:23:35 +08:00
|
|
|
a.fa.fa-navicon.card-details-menu.js-open-card-details-menu
|
2015-06-05 21:37:13 +02:00
|
|
|
h2.card-details-title.js-card-title(
|
2017-03-18 16:01:22 -04:00
|
|
|
class="{{#if canModifyCard}}js-open-inlined-form is-editable{{/if}}")
|
2017-11-14 20:41:05 -06:00
|
|
|
+viewer
|
2018-04-18 02:30:24 -03:00
|
|
|
= getTitle
|
2017-11-14 20:41:05 -06:00
|
|
|
if isWatching
|
|
|
|
|
i.fa.fa-eye.card-details-watch
|
2018-06-26 02:13:31 +03:00
|
|
|
.card-details-path
|
|
|
|
|
each parentList
|
|
|
|
|
| >
|
2018-06-26 14:10:58 +03:00
|
|
|
a.js-parent-card(href=linkForCard) {{title}}
|
2018-06-26 02:13:31 +03:00
|
|
|
// else
|
|
|
|
|
{{_ 'top-level-card'}}
|
2018-11-03 10:25:31 +02:00
|
|
|
unless isSandstorm
|
|
|
|
|
if isLinkedCard
|
|
|
|
|
h3.linked-card-location
|
|
|
|
|
+viewer
|
|
|
|
|
| {{getBoardTitle}} > {{getTitle}}
|
2015-06-05 21:37:13 +02:00
|
|
|
|
2018-04-20 23:52:13 -03:00
|
|
|
if getArchived
|
2018-05-02 15:03:22 -03:00
|
|
|
if isLinkedBoard
|
2018-11-03 10:25:31 +02:00
|
|
|
unless isSandstorm
|
|
|
|
|
p.warning {{_ 'board-archived'}}
|
2018-04-20 23:52:13 -03:00
|
|
|
else
|
|
|
|
|
p.warning {{_ 'card-archived'}}
|
2015-09-01 14:38:07 +02:00
|
|
|
|
2018-03-26 19:04:02 +00:00
|
|
|
.card-details-items
|
|
|
|
|
.card-details-item.card-details-item-received
|
|
|
|
|
h3.card-details-item-title {{_ 'card-received'}}
|
2018-04-17 23:17:44 -03:00
|
|
|
if getReceived
|
2018-03-26 19:04:02 +00:00
|
|
|
+cardReceivedDate
|
|
|
|
|
else
|
2018-08-28 20:23:29 +00:00
|
|
|
if canModifyCard
|
|
|
|
|
a.js-received-date {{_ 'add'}}
|
2018-03-26 19:04:02 +00:00
|
|
|
|
|
|
|
|
.card-details-item.card-details-item-start
|
|
|
|
|
h3.card-details-item-title {{_ 'card-start'}}
|
2018-04-17 23:17:44 -03:00
|
|
|
if getStart
|
2018-03-26 19:04:02 +00:00
|
|
|
+cardStartDate
|
|
|
|
|
else
|
2018-08-28 20:23:29 +00:00
|
|
|
if canModifyCard
|
|
|
|
|
a.js-start-date {{_ 'add'}}
|
2018-03-26 19:04:02 +00:00
|
|
|
|
2018-04-17 23:17:44 -03:00
|
|
|
.card-details-item.card-details-item-due
|
|
|
|
|
h3.card-details-item-title {{_ 'card-due'}}
|
|
|
|
|
if getDue
|
|
|
|
|
+cardDueDate
|
|
|
|
|
else
|
2018-08-28 20:23:29 +00:00
|
|
|
if canModifyCard
|
|
|
|
|
a.js-due-date {{_ 'add'}}
|
2018-04-17 23:17:44 -03:00
|
|
|
|
2018-03-26 19:04:02 +00:00
|
|
|
.card-details-item.card-details-item-end
|
|
|
|
|
h3.card-details-item-title {{_ 'card-end'}}
|
2018-04-17 23:17:44 -03:00
|
|
|
if getEnd
|
2018-03-26 19:04:02 +00:00
|
|
|
+cardEndDate
|
|
|
|
|
else
|
2018-08-28 20:23:29 +00:00
|
|
|
if canModifyCard
|
|
|
|
|
a.js-end-date {{_ 'add'}}
|
2018-03-26 19:04:02 +00:00
|
|
|
|
2015-06-05 21:37:13 +02:00
|
|
|
.card-details-items
|
|
|
|
|
.card-details-item.card-details-item-members
|
2015-06-11 12:35:08 +02:00
|
|
|
h3.card-details-item-title {{_ 'members'}}
|
2018-04-17 01:55:57 -03:00
|
|
|
each getMembers
|
2015-08-30 20:01:05 +02:00
|
|
|
+userAvatar(userId=this cardId=../_id)
|
|
|
|
|
| {{! XXX Hack to hide syntaxic coloration /// }}
|
2017-03-18 16:01:22 -04:00
|
|
|
if canModifyCard
|
2015-09-06 03:42:43 +02:00
|
|
|
a.member.add-member.card-details-item-add-button.js-add-members(title="{{_ 'card-members-title'}}")
|
|
|
|
|
i.fa.fa-plus
|
2015-06-05 21:37:13 +02:00
|
|
|
|
|
|
|
|
.card-details-item.card-details-item-labels
|
2015-06-11 12:35:08 +02:00
|
|
|
h3.card-details-item-title {{_ 'labels'}}
|
2017-03-18 18:49:39 -04:00
|
|
|
a(class="{{#if canModifyCard}}js-add-labels{{else}}is-disabled{{/if}}" title="{{_ 'card-labels-title'}}")
|
2015-06-05 21:37:13 +02:00
|
|
|
each labels
|
|
|
|
|
span.card-label(class="card-label-{{color}}" title=name)= name
|
2017-03-18 16:01:22 -04:00
|
|
|
if canModifyCard
|
2015-09-06 03:42:43 +02:00
|
|
|
a.card-label.add-label.js-add-labels(title="{{_ 'card-labels-title'}}")
|
|
|
|
|
i.fa.fa-plus
|
2015-06-05 21:37:13 +02:00
|
|
|
|
2018-05-17 22:08:17 +02:00
|
|
|
.card-details-items
|
2017-09-05 02:34:18 +02:00
|
|
|
each customFieldsWD
|
2017-08-30 02:54:54 +02:00
|
|
|
.card-details-item.card-details-item-customfield
|
2017-09-05 02:34:18 +02:00
|
|
|
h3.card-details-item-title
|
|
|
|
|
= definition.name
|
|
|
|
|
+cardCustomField
|
2016-02-05 20:23:09 +01:00
|
|
|
|
2017-11-20 22:26:31 +07:00
|
|
|
.card-details-items
|
2018-04-17 23:17:44 -03:00
|
|
|
if getSpentTime
|
2017-11-20 22:26:31 +07:00
|
|
|
.card-details-item.card-details-item-spent
|
2018-04-17 23:17:44 -03:00
|
|
|
if getIsOvertime
|
2017-11-20 22:26:31 +07:00
|
|
|
h3.card-details-item-title {{_ 'overtime-hours'}}
|
|
|
|
|
else
|
|
|
|
|
h3.card-details-item-title {{_ 'spent-time-hours'}}
|
|
|
|
|
+cardSpentTime
|
2016-02-05 20:23:09 +01:00
|
|
|
|
2015-06-19 14:39:38 +02:00
|
|
|
//- XXX We should use "editable" to avoid repetiting ourselves
|
2017-03-18 16:01:22 -04:00
|
|
|
if canModifyCard
|
2015-09-01 14:38:07 +02:00
|
|
|
h3.card-details-item-title {{_ 'description'}}
|
2015-08-31 15:09:53 +02:00
|
|
|
+inlinedCardDescription(classNames="card-description js-card-description")
|
2015-05-26 20:30:01 +02:00
|
|
|
+editor(autofocus=true)
|
2018-04-17 01:55:57 -03:00
|
|
|
| {{getUnsavedValue 'cardDescription' _id getDescription}}
|
2015-06-05 21:37:13 +02:00
|
|
|
.edit-controls.clearfix
|
2015-08-31 15:09:53 +02:00
|
|
|
button.primary(type="submit") {{_ 'save'}}
|
2015-06-05 21:37:13 +02:00
|
|
|
a.fa.fa-times-thin.js-close-inlined-form
|
2015-05-24 12:30:58 +02:00
|
|
|
else
|
2015-06-05 21:37:13 +02:00
|
|
|
a.js-open-inlined-form
|
2018-04-17 01:55:57 -03:00
|
|
|
if getDescription
|
2015-06-05 21:37:13 +02:00
|
|
|
+viewer
|
2018-04-17 01:55:57 -03:00
|
|
|
= getDescription
|
2015-06-05 21:37:13 +02:00
|
|
|
else
|
|
|
|
|
| {{_ 'edit'}}
|
2015-08-31 15:09:53 +02:00
|
|
|
if (hasUnsavedValue 'cardDescription' _id)
|
|
|
|
|
p.quiet
|
2015-09-01 14:38:07 +02:00
|
|
|
| {{_ 'unsaved-description'}}
|
|
|
|
|
a.js-open-inlined-form {{_ 'view-it'}}
|
2015-08-31 15:09:53 +02:00
|
|
|
= ' - '
|
2015-09-01 14:38:07 +02:00
|
|
|
a.js-close-inlined-form {{_ 'discard'}}
|
2018-04-16 16:38:20 -03:00
|
|
|
else if getDescription
|
2015-09-01 14:38:07 +02:00
|
|
|
h3.card-details-item-title {{_ 'description'}}
|
2015-05-24 12:30:58 +02:00
|
|
|
+viewer
|
2018-04-16 16:38:20 -03:00
|
|
|
= getDescription
|
2017-01-20 21:05:48 +08:00
|
|
|
|
2018-06-05 20:23:29 +00:00
|
|
|
.card-details-items
|
|
|
|
|
.card-details-item.card-details-item-name
|
|
|
|
|
h3.card-details-item-title {{_ 'requested-by'}}
|
|
|
|
|
if canModifyCard
|
|
|
|
|
+inlinedForm(classNames="js-card-details-requester")
|
|
|
|
|
+editCardRequesterForm
|
|
|
|
|
else
|
|
|
|
|
a.js-open-inlined-form
|
2018-08-15 20:50:51 +02:00
|
|
|
if getRequestedBy
|
2018-06-07 16:26:20 +00:00
|
|
|
+viewer
|
2018-08-15 20:50:51 +02:00
|
|
|
= getRequestedBy
|
2018-06-07 16:26:20 +00:00
|
|
|
else
|
|
|
|
|
| {{_ 'add'}}
|
2018-08-15 20:50:51 +02:00
|
|
|
else if getRequestedBy
|
2018-06-05 20:23:29 +00:00
|
|
|
+viewer
|
2018-08-15 20:50:51 +02:00
|
|
|
= getRequestedBy
|
2018-06-05 20:23:29 +00:00
|
|
|
|
|
|
|
|
.card-details-item.card-details-item-name
|
|
|
|
|
h3.card-details-item-title {{_ 'assigned-by'}}
|
|
|
|
|
if canModifyCard
|
|
|
|
|
+inlinedForm(classNames="js-card-details-assigner")
|
|
|
|
|
+editCardAssignerForm
|
|
|
|
|
else
|
|
|
|
|
a.js-open-inlined-form
|
2018-08-15 20:50:51 +02:00
|
|
|
if getAssignedBy
|
2018-06-07 16:26:20 +00:00
|
|
|
+viewer
|
2018-08-15 20:50:51 +02:00
|
|
|
= getAssignedBy
|
2018-06-07 16:26:20 +00:00
|
|
|
else
|
|
|
|
|
| {{_ 'add'}}
|
2018-08-15 20:50:51 +02:00
|
|
|
else if getRequestedBy
|
2018-06-05 20:23:29 +00:00
|
|
|
+viewer
|
2018-08-15 20:50:51 +02:00
|
|
|
= getAssignedBy
|
2018-06-05 20:23:29 +00:00
|
|
|
|
2017-01-20 21:05:48 +08:00
|
|
|
hr
|
|
|
|
|
+checklists(cardId = _id)
|
|
|
|
|
|
2018-06-25 23:12:20 +03:00
|
|
|
if currentBoard.allowsSubtasks
|
|
|
|
|
hr
|
|
|
|
|
+subtasks(cardId = _id)
|
2018-06-18 23:25:56 +03:00
|
|
|
|
2017-12-10 22:53:45 +07:00
|
|
|
hr
|
2018-03-26 19:04:02 +00:00
|
|
|
h3
|
2017-12-10 22:53:45 +07:00
|
|
|
i.fa.fa-paperclip
|
|
|
|
|
| {{_ 'attachments'}}
|
2015-06-13 15:04:55 +02:00
|
|
|
|
2017-12-10 22:53:45 +07:00
|
|
|
+attachmentsGalery
|
2015-06-12 13:59:39 +02:00
|
|
|
|
|
|
|
|
hr
|
2018-09-04 20:09:36 +03:00
|
|
|
unless currentUser.isNoComments
|
|
|
|
|
.activity-title
|
|
|
|
|
h3 {{ _ 'activity'}}
|
|
|
|
|
if currentUser.isBoardMember
|
|
|
|
|
.material-toggle-switch
|
|
|
|
|
span.toggle-switch-title {{_ 'hide-system-messages'}}
|
|
|
|
|
if hiddenSystemMessages
|
|
|
|
|
input.toggle-switch(type="checkbox" id="toggleButton" checked="checked")
|
|
|
|
|
else
|
|
|
|
|
input.toggle-switch(type="checkbox" id="toggleButton")
|
|
|
|
|
label.toggle-label(for="toggleButton")
|
2015-06-12 13:59:39 +02:00
|
|
|
if currentUser.isBoardMember
|
2018-09-04 20:09:36 +03:00
|
|
|
unless currentUser.isNoComments
|
|
|
|
|
+commentForm
|
|
|
|
|
unless currentUser.isNoComments
|
|
|
|
|
if isLoaded.get
|
|
|
|
|
if isLinkedCard
|
2018-11-03 10:25:31 +02:00
|
|
|
unless isSandstorm
|
|
|
|
|
+activities(card=this mode="linkedcard")
|
2018-09-04 20:09:36 +03:00
|
|
|
else if isLinkedBoard
|
2018-11-03 10:25:31 +02:00
|
|
|
unless isSandstorm
|
|
|
|
|
+activities(card=this mode="linkedboard")
|
2018-09-04 20:09:36 +03:00
|
|
|
else
|
|
|
|
|
+activities(card=this mode="card")
|
2015-06-05 21:37:13 +02:00
|
|
|
|
2015-12-31 20:36:30 +05:30
|
|
|
template(name="editCardTitleForm")
|
|
|
|
|
textarea.js-edit-card-title(rows='1' autofocus)
|
2018-04-18 02:30:24 -03:00
|
|
|
= getTitle
|
2015-12-31 20:36:30 +05:30
|
|
|
.edit-controls.clearfix
|
|
|
|
|
button.primary.confirm.js-submit-edit-card-title-form(type="submit") {{_ 'save'}}
|
|
|
|
|
a.fa.fa-times-thin.js-close-inlined-form
|
|
|
|
|
|
2018-06-05 20:23:29 +00:00
|
|
|
template(name="editCardRequesterForm")
|
2018-08-15 20:50:51 +02:00
|
|
|
input.js-edit-card-requester(type='text' autofocus value=getRequestedBy)
|
2018-06-05 20:23:29 +00:00
|
|
|
.edit-controls.clearfix
|
2018-06-06 16:44:15 +00:00
|
|
|
button.primary.confirm.js-submit-edit-card-requester-form(type="submit") {{_ 'save'}}
|
2018-06-05 20:23:29 +00:00
|
|
|
a.fa.fa-times-thin.js-close-inlined-form
|
|
|
|
|
|
|
|
|
|
template(name="editCardAssignerForm")
|
2018-08-15 20:50:51 +02:00
|
|
|
input.js-edit-card-assigner(type='text' autofocus value=getAssignedBy)
|
2018-06-05 20:23:29 +00:00
|
|
|
.edit-controls.clearfix
|
|
|
|
|
button.primary.confirm.js-submit-edit-card-assigner-form(type="submit") {{_ 'save'}}
|
|
|
|
|
a.fa.fa-times-thin.js-close-inlined-form
|
|
|
|
|
|
2015-06-05 21:37:13 +02:00
|
|
|
template(name="cardDetailsActionsPopup")
|
2016-01-05 23:26:02 +08:00
|
|
|
ul.pop-over-list
|
|
|
|
|
li: a.js-toggle-watch-card {{#if isWatching}}{{_ 'unwatch'}}{{else}}{{_ 'watch'}}{{/if}}
|
2017-03-18 16:01:22 -04:00
|
|
|
if canModifyCard
|
|
|
|
|
hr
|
|
|
|
|
ul.pop-over-list
|
|
|
|
|
li: a.js-members {{_ 'card-edit-members'}}
|
|
|
|
|
li: a.js-labels {{_ 'card-edit-labels'}}
|
|
|
|
|
li: a.js-attachments {{_ 'card-edit-attachments'}}
|
2017-08-27 22:31:24 +02:00
|
|
|
li: a.js-custom-fields {{_ 'card-edit-custom-fields'}}
|
2018-06-05 20:23:29 +00:00
|
|
|
li: a.js-received-date {{_ 'editCardReceivedDatePopup-title'}}
|
2017-03-18 16:01:22 -04:00
|
|
|
li: a.js-start-date {{_ 'editCardStartDatePopup-title'}}
|
|
|
|
|
li: a.js-due-date {{_ 'editCardDueDatePopup-title'}}
|
2018-03-26 19:04:02 +00:00
|
|
|
li: a.js-end-date {{_ 'editCardEndDatePopup-title'}}
|
2017-11-20 22:26:31 +07:00
|
|
|
li: a.js-spent-time {{_ 'editCardSpentTimePopup-title'}}
|
2019-01-24 15:24:55 +01:00
|
|
|
li: a.js-set-card-color {{_ 'setCardColorPopup-title'}}
|
2017-03-18 16:01:22 -04:00
|
|
|
hr
|
|
|
|
|
ul.pop-over-list
|
|
|
|
|
li: a.js-move-card-to-top {{_ 'moveCardToTop-title'}}
|
|
|
|
|
li: a.js-move-card-to-bottom {{_ 'moveCardToBottom-title'}}
|
|
|
|
|
hr
|
|
|
|
|
ul.pop-over-list
|
|
|
|
|
li: a.js-move-card {{_ 'moveCardPopup-title'}}
|
2017-09-05 13:30:18 +02:00
|
|
|
li: a.js-copy-card {{_ 'copyCardPopup-title'}}
|
2018-02-15 15:26:19 -05:00
|
|
|
li: a.js-copy-checklist-cards {{_ 'copyChecklistToManyCardsPopup-title'}}
|
2017-03-18 16:01:22 -04:00
|
|
|
unless archived
|
|
|
|
|
li: a.js-archive {{_ 'archive-card'}}
|
|
|
|
|
li: a.js-more {{_ 'cardMorePopup-title'}}
|
Renaissance
_,,ad8888888888bba,_
,ad88888I888888888888888ba,
,88888888I88888888888888888888a,
,d888888888I8888888888888888888888b,
d88888PP"""" ""YY88888888888888888888b,
,d88"'__,,--------,,,,.;ZZZY8888888888888,
,8IIl'" ;;l"ZZZIII8888888888,
,I88l;' ;lZZZZZ888III8888888,
,II88Zl;. ;llZZZZZ888888I888888,
,II888Zl;. .;;;;;lllZZZ888888I8888b
,II8888Z;; `;;;;;''llZZ8888888I8888,
II88888Z;' .;lZZZ8888888I888b
II88888Z; _,aaa, .,aaaaa,__.l;llZZZ88888888I888
II88888IZZZZZZZZZ, .ZZZZZZZZZZZZZZ;llZZ88888888I888,
II88888IZZ<'(@@>Z| |ZZZ<'(@@>ZZZZ;;llZZ888888888I88I
,II88888; `""" ;| |ZZ; `""" ;;llZ8888888888I888
II888888l `;; .;llZZ8888888888I888,
,II888888Z; ;;; .;;llZZZ8888888888I888I
III888888Zl; .., `;; ,;;lllZZZ88888888888I888
II88888888Z;;...;(_ _) ,;;;llZZZZ88888888888I888,
II88888888Zl;;;;;' `--'Z;. .,;;;;llZZZZ88888888888I888b
]I888888888Z;;;;' ";llllll;..;;;lllZZZZ88888888888I8888,
II888888888Zl.;;"Y88bd888P";;,..;lllZZZZZ88888888888I8888I
II8888888888Zl;.; `"PPP";;;,..;lllZZZZZZZ88888888888I88888
II888888888888Zl;;. `;;;l;;;;lllZZZZZZZZW88888888888I88888
`II8888888888888Zl;. ,;;lllZZZZZZZZWMZ88888888888I88888
II8888888888888888ZbaalllZZZZZZZZZWWMZZZ8888888888I888888,
`II88888888888888888b"WWZZZZZWWWMMZZZZZZI888888888I888888b
`II88888888888888888;ZZMMMMMMZZZZZZZZllI888888888I8888888
`II8888888888888888 `;lZZZZZZZZZZZlllll888888888I8888888,
II8888888888888888, `;lllZZZZllllll;;.Y88888888I8888888b,
,II8888888888888888b .;;lllllll;;;.;..88888888I88888888b,
II888888888888888PZI;. .`;;;.;;;..; ...88888888I8888888888,
II888888888888PZ;;';;. ;. .;. .;. .. Y8888888I88888888888b,
,II888888888PZ;;' `8888888I8888888888888b,
II888888888' 888888I8888888888888888
,II888888888 ,888888I8888888888888888
,d88888888888 d888888I8888888888ZZZZZZ
,ad888888888888I 8888888I8888ZZZZZZZZZZZZ
888888888888888' 888888IZZZZZZZZZZZZZZZZZ
8888888888P'8P' Y888ZZZZZZZZZZZZZZZZZZZZ
888888888, " ,ZZZZZZZZZZZZZZZZZZZZZZZ
8888888888, ,ZZZZZZZZZZZZZZZZZZZZZZZZZZ
888888888888a, _ ,ZZZZZZZZZZZZZZZZZZZZ88888888
888888888888888ba,_d' ,ZZZZZZZZZZZZZZZZZ8888888888888
8888888888888888888888bbbaaa,,,______,ZZZZZZZZZZZZZZZ88888888888888888
88888888888888888888888888888888888ZZZZZZZZZZZZZZZ88888888888888888888
8888888888888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888
888888888888888888888888888888888ZZZZZZZZZZZZZZ88888888888888888888888
8888888888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888888
88888888888888888888888888888ZZZZZZZZZZZZZZ888888888888888888888888888
8888888888888888888888888888ZZZZZZZZZZZZZZ88888888888888888 Normand 8
88888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888 Veilleux 8
8888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888888888888
2015-05-12 19:20:58 +02:00
|
|
|
|
|
|
|
|
template(name="moveCardPopup")
|
2018-04-27 13:57:28 +03:00
|
|
|
+boardsAndLists
|
2015-06-05 21:37:13 +02:00
|
|
|
|
2017-09-05 13:30:18 +02:00
|
|
|
template(name="copyCardPopup")
|
|
|
|
|
label(for='copy-card-title') {{_ 'title'}}:
|
|
|
|
|
textarea#copy-card-title.minicard-composer-textarea.js-card-title(autofocus)
|
2018-04-18 02:30:24 -03:00
|
|
|
= getTitle
|
2018-04-27 13:57:28 +03:00
|
|
|
+boardsAndLists
|
2017-11-14 03:03:08 +01:00
|
|
|
|
2018-02-15 15:26:19 -05:00
|
|
|
template(name="copyChecklistToManyCardsPopup")
|
|
|
|
|
label(for='copy-checklist-cards-title') {{_ 'copyChecklistToManyCardsPopup-instructions'}}:
|
2018-02-05 13:27:47 -05:00
|
|
|
textarea#copy-card-title.minicard-composer-textarea.js-card-title(autofocus)
|
2018-02-15 11:55:15 -05:00
|
|
|
| {{_ 'copyChecklistToManyCardsPopup-format'}}
|
2018-04-27 13:57:28 +03:00
|
|
|
+boardsAndLists
|
2018-02-05 13:27:47 -05:00
|
|
|
|
2017-11-14 03:03:08 +01:00
|
|
|
template(name="boardsAndLists")
|
2018-03-07 14:08:45 -03:00
|
|
|
label {{_ 'boards'}}:
|
2019-01-01 16:35:18 +05:30
|
|
|
select.js-select-boards(autofocus)
|
2017-11-14 03:03:08 +01:00
|
|
|
each boards
|
|
|
|
|
if $eq _id currentBoard._id
|
|
|
|
|
option(value="{{_id}}" selected) {{_ 'current'}}
|
|
|
|
|
else
|
|
|
|
|
option(value="{{_id}}") {{title}}
|
2017-11-21 09:07:56 +02:00
|
|
|
|
2018-03-07 14:08:45 -03:00
|
|
|
label {{_ 'swimlanes'}}:
|
|
|
|
|
select.js-select-swimlanes
|
|
|
|
|
each swimlanes
|
|
|
|
|
option(value="{{_id}}") {{title}}
|
|
|
|
|
|
2017-09-05 13:30:18 +02:00
|
|
|
label {{_ 'lists'}}:
|
2018-03-07 14:08:45 -03:00
|
|
|
select.js-select-lists
|
2017-11-14 03:03:08 +01:00
|
|
|
each aBoardLists
|
2018-03-07 14:08:45 -03:00
|
|
|
option(value="{{_id}}") {{title}}
|
|
|
|
|
|
|
|
|
|
.edit-controls.clearfix
|
|
|
|
|
button.primary.confirm.js-done {{_ 'done'}}
|
2017-09-05 13:30:18 +02:00
|
|
|
|
2015-06-05 21:37:13 +02:00
|
|
|
template(name="cardMembersPopup")
|
2015-09-05 01:31:25 +02:00
|
|
|
ul.pop-over-list.js-card-member-list
|
2015-12-08 16:03:31 +08:00
|
|
|
each board.activeMembers
|
2015-06-05 21:37:13 +02:00
|
|
|
li.item(class="{{#if isCardMember}}active{{/if}}")
|
|
|
|
|
a.name.js-select-member(href="#")
|
2015-06-08 11:47:06 +02:00
|
|
|
+userAvatar(userId=user._id)
|
2015-06-05 21:37:13 +02:00
|
|
|
span.full-name
|
2015-07-18 13:43:59 +03:00
|
|
|
= user.profile.fullname
|
2015-06-05 21:37:13 +02:00
|
|
|
| (<span class="username">{{ user.username }}</span>)
|
|
|
|
|
if isCardMember
|
|
|
|
|
i.fa.fa-check
|
|
|
|
|
|
2015-06-12 13:59:39 +02:00
|
|
|
template(name="cardMorePopup")
|
|
|
|
|
p.quiet
|
|
|
|
|
span.clearfix
|
|
|
|
|
span {{_ 'link-card'}}
|
|
|
|
|
= ' '
|
|
|
|
|
i.fa.colorful(class="{{#if board.isPublic}}fa-globe{{else}}fa-lock{{/if}}")
|
2019-01-01 16:35:18 +05:30
|
|
|
input.inline-input(type="text" id="cardURL" readonly value="{{ absoluteUrl }}" autofocus="autofocus")
|
2017-08-26 03:14:31 +03:00
|
|
|
button.js-copy-card-link-to-clipboard(class="btn") {{_ 'copy-card-link-to-clipboard'}}
|
|
|
|
|
span.clearfix
|
|
|
|
|
br
|
2018-06-26 17:39:31 +03:00
|
|
|
h2 {{_ 'change-card-parent'}}
|
|
|
|
|
label {{_ 'source-board'}}:
|
|
|
|
|
select.js-field-parent-board
|
|
|
|
|
each boards
|
|
|
|
|
if isParentBoard
|
|
|
|
|
option(value="{{_id}}" selected) {{title}}
|
|
|
|
|
else
|
|
|
|
|
option(value="{{_id}}") {{title}}
|
|
|
|
|
if isTopLevel
|
|
|
|
|
option(value="none" selected) {{_ 'custom-field-dropdown-none'}}
|
|
|
|
|
else
|
|
|
|
|
option(value="none") {{_ 'custom-field-dropdown-none'}}
|
|
|
|
|
|
|
|
|
|
label {{_ 'parent-card'}}:
|
|
|
|
|
select.js-field-parent-card
|
|
|
|
|
if isTopLevel
|
|
|
|
|
option(value="none" selected) {{_ 'custom-field-dropdown-none'}}
|
|
|
|
|
else
|
|
|
|
|
each cards
|
|
|
|
|
if isParentCard
|
|
|
|
|
option(value="{{_id}}" selected) {{title}}
|
|
|
|
|
else
|
|
|
|
|
option(value="{{_id}}") {{title}}
|
|
|
|
|
option(value="none") {{_ 'custom-field-dropdown-none'}}
|
|
|
|
|
br
|
2015-06-12 13:59:39 +02:00
|
|
|
| {{_ 'added'}}
|
|
|
|
|
span.date(title=card.createdAt) {{ moment createdAt 'LLL' }}
|
|
|
|
|
a.js-delete(title="{{_ 'card-delete-notice'}}") {{_ 'delete'}}
|
|
|
|
|
|
2019-01-22 10:35:09 +01:00
|
|
|
template(name="setCardColorPopup")
|
2019-01-22 13:38:08 +01:00
|
|
|
form.edit-label
|
|
|
|
|
.palette-colors: each colors
|
2019-01-22 23:35:12 +01:00
|
|
|
unless $eq color 'white'
|
|
|
|
|
span.card-label.palette-color.js-palette-color(class="card-details-{{color}}")
|
|
|
|
|
if(isSelected color)
|
|
|
|
|
i.fa.fa-check
|
2019-01-22 13:38:08 +01:00
|
|
|
button.primary.confirm.js-submit {{_ 'save'}}
|
|
|
|
|
button.js-remove-color.negate.wide.right {{_ 'unset-color'}}
|
2018-06-26 17:39:31 +03:00
|
|
|
|
2015-06-07 18:55:26 +02:00
|
|
|
template(name="cardDeletePopup")
|
|
|
|
|
p {{_ "card-delete-pop"}}
|
|
|
|
|
unless archived
|
|
|
|
|
p {{_ "card-delete-suggest-archive"}}
|
|
|
|
|
button.js-confirm.negate.full(type="submit") {{_ 'delete'}}
|