summaryrefslogtreecommitdiffstats
path: root/client/components/rules/triggers/boardTriggers.jade
blob: dec15d86f30af8eed8f47e28de353a3676627971 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
template(name="boardTriggers")
  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | {{{_'r-when-a-card-is'}}}
      div.trigger-dropdown
        select(id="gen-action")
          option(value="created") {{{_'r-added-to'}}}
          option(value="removed") {{{_'r-added-to'}}}
      div.trigger-text 
        | {{{_'r-the-board'}}}
    div.trigger-button.js-add-gen-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | {{{_'r-when-a-card-is'}}}
      div.trigger-dropdown
        select(id="create-action")
          option(value="created") {{{_'r-added-to'}}}
          option(value="removed") {{{_'r-added-to'}}}
      div.trigger-text 
        | {{{_'r-list'}}}
      div.trigger-dropdown
        input(id="create-list-name",type=text,placeholder="{{{_'r-list-name'}}}")  
    div.trigger-button.js-add-create-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | {{{_'r-when-a-card-is'}}}
      div.trigger-dropdown
        select(id="move-action")
          option(value="moved-to") {{{_'r-moved-to'}}}
          option(value="moved-from") {{{_'r-moved-from'}}}
      div.trigger-text 
        | {{{_'r-list'}}}
      div.trigger-dropdown
        input(id="move-list-name",type=text,placeholder="{{{_'r-list-name'}}}")  
    div.trigger-button.js-add-moved-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | {{{_'r-when-a-card-is'}}}
      div.trigger-dropdown
        select(id="arch-action")
          option(value="archived") {{{_'r-archived'}}}
          option(value="unarchived") {{{_'r-unarchived'}}}
    div.trigger-button.js-add-arch-trigger.js-goto-action
      i.fa.fa-plus