summaryrefslogtreecommitdiffstats
path: root/client/components/lists/listMenu.jade
blob: 052f064c99894f906cb86f1c282fbf51a6f84824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
template(name="listActionPopup")
  ul.pop-over-list
    li: a.js-add-card {{_ 'add-card'}}
    li: a.highlight-icon.js-list-subscribe {{_ 'subscribe'}}
  if cards.count
    hr
    ul.pop-over-list
      li: a.js-select-cards {{_ 'list-select-cards'}}
      li: a.js-move-cards {{_ 'list-move-cards'}}
      li: a.js-archive-cards {{_ 'list-archive-cards'}}
  hr
  ul.pop-over-list
    li: a.js-close-list {{_ 'archive-list'}}

template(name="listMoveCardsPopup")
  +boardLists

template(name="boardLists")
  ul.pop-over-list
    each currentBoard.lists
      li
        if($eq ../_id _id)
          a.disabled {{title}} ({{_ 'current'}})
        else
          a.js-select-list= title

template(name="listArchiveCardsPopup")
  p {{_ 'list-archive-cards-pop'}}
  input.js-confirm.negate.full(type="submit" value="{{_ 'archive-all'}}")