summaryrefslogtreecommitdiffstats
path: root/client/components/rules/triggers/cardTriggers.jade
blob: 473ceb5787a60652bc7a79fe540b661dcca3d7e2 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
template(name="cardTriggers")
  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | When a label is
      div.trigger-dropdown
        select(id="create-action")
          option(value="created") Added to
          option(value="removed") Removed from
      div.trigger-text 
        | a card 
    div.trigger-button.js-add-gen-label-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | When the label
      div.trigger-dropdown
        select(id="label")
          each labels
            option
              = name
      div.trigger-text 
        | is
      div.trigger-dropdown
        select(id="create-action")
          option(value="created") Added to
          option(value="removed") Removed from
      div.trigger-text 
        | a card 
    div.trigger-button.js-add-label-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | When a member is
      div.trigger-dropdown
        select(id="create-action")
          option(value="created") Added to
          option(value="removed") Removed from
      div.trigger-text 
        | a card 
    div.trigger-button.js-add-gen.member-trigger.js-goto-action
      i.fa.fa-plus


  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | When the member
      div.trigger-dropdown
        input(id="create-list-name",type=text,placeholder="name") 
      div.trigger-text 
        | is
      div.trigger-dropdown
        select(id="create-action")
          option(value="created") Added to
          option(value="removed") Removed from
      div.trigger-text 
        | a card 
    div.trigger-button.js-add-member-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | When an attachment
      div.trigger-text 
        | is
      div.trigger-dropdown
        select(id="create-action")
          option(value="created") Added to
          option(value="removed") Removed from
      div.trigger-text 
        | a card 
    div.trigger-button.js-add-attachment-trigger.js-goto-action
      i.fa.fa-plus