summaryrefslogtreecommitdiffstats
path: root/client/components/swimlanes/swimlaneHeader.jade
blob: 49193a815bfdd4fc846a386d1b92ed35d1e8b34a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
template(name="swimlaneHeader")
  .swimlane-header-wrap
    +inlinedForm
      +editSwimlaneTitleForm
    else
      .swimlane-header(
        class="{{#if currentUser.isBoardMember}}js-open-inlined-form is-editable{{/if}}")
        = title
      .swimlane-header-menu
        unless currentUser.isCommentOnly
          a.fa.fa-navicon.js-open-swimlane-menu
  
template(name="editSwimlaneTitleForm")
  .list-composer
    input.list-name-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

template(name="swimlaneActionPopup")
  unless currentUser.isCommentOnly
    ul.pop-over-list
      li: a.js-close-swimlane {{_ 'archive-swimlane'}}