summaryrefslogtreecommitdiffstats
path: root/client/components/rules/triggers/checklistTriggers.jade
blob: a563e93b1c5ec6832f6d7d05e3af5b87560159ea (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
template(name="checklistTriggers")
  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | {{_'r-when-a-checklist'}}
      div.trigger-dropdown
        select(id="gen-check-action")
          option(value="created") {{_'r-added-to'}}
          option(value="removed") {{_'r-removed-from'}}
      div.trigger-text 
        | {{_'r-a-card'}}
      div.trigger-button.trigger-button-person.js-show-user-field
        i.fa.fa-user
      div.user-details.hide-element
        div.trigger-text
          | {{_'r-by'}}
        div.trigger-dropdown
          input(class="user-name",id="create-list-name",type=text,placeholder="{{_'r-user-name'}}")
    div.trigger-button.js-add-gen-check-trigger.js-goto-action
      i.fa.fa-plus


  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | {{_'r-when-the-checklist'}}
      div.trigger-dropdown
        input(id="check-name",type=text,placeholder="{{_'r-name'}}") 
      div.trigger-text 
        | {{_'r-is'}}
      div.trigger-dropdown
        select(id="spec-check-action")
          option(value="created") {{_'r-added-to'}}
          option(value="removed") {{_'r-removed-from'}}
      div.trigger-text 
        | {{_'r-a-card'}}
      div.trigger-button.trigger-button-person.js-show-user-field
        i.fa.fa-user
      div.user-details.hide-element
        div.trigger-text
          | {{_'r-by'}}
        div.trigger-dropdown
          input(class="user-name",id="create-list-name",type=text,placeholder="{{_'r-user-name'}}")
    div.trigger-button.js-add-spec-check-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | {{_'r-when-a-checklist'}}
      div.trigger-dropdown
        select(id="gen-comp-check-action")
          option(value="completed") {{_'r-completed'}}
          option(value="uncompleted") {{_'r-made-incomplete'}}
      div.trigger-button.trigger-button-person.js-show-user-field
        i.fa.fa-user
      div.user-details.hide-element
        div.trigger-text
          | {{_'r-by'}}
        div.trigger-dropdown
          input(class="user-name",id="create-list-name",type=text,placeholder="{{_'r-user-name'}}")
    div.trigger-button.js-add-gen-comp-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | {{_'r-when-the-checklist'}}
      div.trigger-dropdown
        input(id="spec-comp-check-name",type=text,placeholder="{{_'r-name'}}") 
      div.trigger-text 
        | {{_'r-is'}}
      div.trigger-dropdown
        select(id="spec-comp-check-action")
          option(value="completed") {{_'r-completed'}}
          option(value="uncompleted") {{_'r-made-incomplete'}}
      div.trigger-button.trigger-button-person.js-show-user-field
        i.fa.fa-user
      div.user-details.hide-element
        div.trigger-text
          | {{_'r-by'}}
        div.trigger-dropdown
          input(class="user-name",id="create-list-name",type=text,placeholder="{{_'r-user-name'}}")
    div.trigger-button.js-add-spec-comp-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | {{_'r-when-a-item'}}
      div.trigger-dropdown
        select(id="check-item-gen-action")
          option(value="checked") {{_'r-checked'}}
          option(value="unchecked") {{_'r-unchecked'}}
      div.trigger-button.trigger-button-person.js-show-user-field
        i.fa.fa-user
      div.user-details.hide-element
        div.trigger-text
          | {{_'r-by'}}
        div.trigger-dropdown
          input(class="user-name",id="create-list-name",type=text,placeholder="{{_'r-user-name'}}")
    div.trigger-button.js-add-gen-check-item-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | {{_'r-when-the-item'}}
      div.trigger-dropdown
        input(id="check-item-name",type=text,placeholder="{{_'r-name'}}") 
      div.trigger-text 
        | {{_'r-is'}}
      div.trigger-dropdown
        select(id="check-item-spec-action")
          option(value="checked") {{_'r-checked'}}
          option(value="unchecked") {{_'r-unchecked'}}
      div.trigger-button.trigger-button-person.js-show-user-field
        i.fa.fa-user
      div.user-details.hide-element
        div.trigger-text
          | {{_'r-by'}}
        div.trigger-dropdown
          input(class="user-name",id="create-list-name",type=text,placeholder="{{_'r-user-name'}}")
    div.trigger-button.js-add-spec-check-item-trigger.js-goto-action
      i.fa.fa-plus