summaryrefslogtreecommitdiffstats
path: root/client/components/rules/rulesActions.jade
blob: 9fcecf4687549d14ffd0db8f2f660f6745c0a4fb (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
template(name="rulesActions")
  h2
    i.fa.fa-cutlery
    | Rule "#{data.ruleName.get}" - Add action
  .triggers-content
    .triggers-body
      .triggers-side-menu
        ul
          li.active.js-set-board-actions
            i.fa.fa-columns
          li.js-set-card-actions
            i.fa.fa-sticky-note
          li.js-set-checklist-actions
            i.fa.fa-check
          li.js-set-mail-actions
            i.fa.fa-at
      .triggers-main-body
        if ($eq currentActions.get 'board')
          +boardActions(ruleName=data.ruleName triggerVar=data.triggerVar)
        else if ($eq currentActions.get 'card')
          +cardActions(ruleName=data.ruleName triggerVar=data.triggerVar)
        else if ($eq currentActions.get 'checklist')
          +checklistActions(ruleName=data.ruleName triggerVar=data.triggerVar)
        else if ($eq currentActions.get 'mail')
          +mailActions(ruleName=data.ruleName triggerVar=data.triggerVar)