diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2019-02-23 12:14:37 +0100 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2019-02-24 00:05:00 +0100 |
commit | 1e72177991e3fe11a1837e3e294e4de5d728aa30 (patch) | |
tree | e0d8e2fb100bae88f2f9b83d7c79362fe9d431ad /client/components/swimlanes/swimlaneHeader.jade | |
parent | cdf070189e11205eecd11641226ae62964cc03e1 (diff) | |
download | wekan-1e72177991e3fe11a1837e3e294e4de5d728aa30.tar.gz wekan-1e72177991e3fe11a1837e3e294e4de5d728aa30.tar.bz2 wekan-1e72177991e3fe11a1837e3e294e4de5d728aa30.zip |
Avoid links on a template-board
Allow creation of template boards with a linked card
Avoid changing the name of the template-container swimlanes
Diffstat (limited to 'client/components/swimlanes/swimlaneHeader.jade')
-rw-r--r-- | client/components/swimlanes/swimlaneHeader.jade | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/client/components/swimlanes/swimlaneHeader.jade b/client/components/swimlanes/swimlaneHeader.jade index ac4a0327..810dd57f 100644 --- a/client/components/swimlanes/swimlaneHeader.jade +++ b/client/components/swimlanes/swimlaneHeader.jade @@ -1,15 +1,21 @@ template(name="swimlaneHeader") .swimlane-header-wrap.js-swimlane-header(class='{{#if colorClass}}swimlane-{{colorClass}}{{/if}}') - +inlinedForm - +editSwimlaneTitleForm + if this.isTemplateContainer + +swimlaneFixedHeader(this) else - .swimlane-header( - class="{{#if currentUser.isBoardMember}}js-open-inlined-form is-editable{{/if}}") - = title - .swimlane-header-menu - unless currentUser.isCommentOnly - a.fa.fa-plus.js-open-add-swimlane-menu.swimlane-header-plus-icon - a.fa.fa-navicon.js-open-swimlane-menu + +inlinedForm + +editSwimlaneTitleForm + else + +swimlaneFixedHeader(this) + +template(name="swimlaneFixedHeader") + .swimlane-header( + class="{{#if currentUser.isBoardMember}}js-open-inlined-form is-editable{{/if}}") + = title + .swimlane-header-menu + unless currentUser.isCommentOnly + a.fa.fa-plus.js-open-add-swimlane-menu.swimlane-header-plus-icon + a.fa.fa-navicon.js-open-swimlane-menu template(name="editSwimlaneTitleForm") .list-composer |