summaryrefslogtreecommitdiffstats
path: root/client/components/rules/triggers/boardTriggers.jade
blob: c39ff6d07998b78cc2bfe7b71e6b77a31889578c (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
template(name="boardTriggers")
  div.trigger-item#trigger-two
    div.trigger-content
      div.trigger-text 
        | {{_'r-when-a-card'}}
      div.trigger-inline-button.js-open-card-title-popup 
        i.fa.fa-filter
      div.trigger-text 
        | {{_'r-is'}}
      div.trigger-text 
        | {{_'r-added-to'}}
      div.trigger-text 
        | {{_'r-list'}}
      div.trigger-dropdown
        input(id="create-list-name",type=text,placeholder="{{_'r-list-name'}}")
      div.trigger-text 
        | {{_'r-swimlane'}}
      div.trigger-dropdown
        input(id="create-swimlane-name",type=text,placeholder="{{_'r-swimlane-name'}}") 
      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",type=text,placeholder="{{_'r-user-name'}}")     
    div.trigger-button.js-add-create-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item#trigger-three
    div.trigger-content
      div.trigger-text 
        | {{_'r-when-a-card'}}
      div.trigger-inline-button.js-open-card-title-popup 
        i.fa.fa-filter
      div.trigger-text 
        | {{_'r-is-moved'}}
      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",type=text,placeholder="{{_'r-user-name'}}")
    div.trigger-button.js-add-gen-moved-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item#trigger-four
    div.trigger-content
      div.trigger-text 
        | {{_'r-when-a-card'}}
      div.trigger-inline-button.js-open-card-title-popup 
        i.fa.fa-filter
      div.trigger-text 
        | {{_'r-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-text 
        | {{_'r-swimlane'}}
      div.trigger-dropdown
        input(id="create-swimlane-name",type=text,placeholder="{{_'r-swimlane-name'}}") 
      div.trigger-button.trigger-button-person.js-show-user-field  
      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",type=text,placeholder="{{_'r-user-name'}}")
    div.trigger-button.js-add-moved-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item#trigger-five
    div.trigger-content
      div.trigger-text 
        | {{_'r-when-a-card'}}
      div.trigger-inline-button.js-open-card-title-popup 
        i.fa.fa-filter
      div.trigger-text 
        | {{_'r-is'}}
      div.trigger-dropdown
        select(id="arch-action")
          option(value="archived") {{_'r-archived'}}
          option(value="unarchived") {{_'r-unarchived'}}
      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",type=text,placeholder="{{_'r-user-name'}}")
    div.trigger-button.js-add-arch-trigger.js-goto-action
      i.fa.fa-plus

  div.trigger-item
      div.trigger-content
        div.trigger-text 
          | {{{_'r-board-note'}}}

template(name="boardCardTitlePopup")
    form
      label
        | Card Title Filter
        input.js-card-filter-name(type="text" value=title autofocus)
      input.js-card-filter-button.primary.wide(type="submit" value="{{_ 'set-filter'}}")