diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-09-16 00:10:40 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-09-16 00:10:40 +0300 |
commit | 6673b79738720651f186039808d4e22ef14e4c3c (patch) | |
tree | 464eb186f382f14b93c9c9ca7b21a14851746770 /client/components/rules/triggers/cardTriggers.jade | |
parent | 053757f135b54241b4899a83cd3bb749b1e81bc9 (diff) | |
parent | 36c04edb9f7cf16fb450b76598c4957968d4674b (diff) | |
download | wekan-6673b79738720651f186039808d4e22ef14e4c3c.tar.gz wekan-6673b79738720651f186039808d4e22ef14e4c3c.tar.bz2 wekan-6673b79738720651f186039808d4e22ef14e4c3c.zip |
Merge branch 'feature-rules' of https://github.com/Angtrim/wekan into Angtrim-feature-rules
Diffstat (limited to 'client/components/rules/triggers/cardTriggers.jade')
-rw-r--r-- | client/components/rules/triggers/cardTriggers.jade | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/client/components/rules/triggers/cardTriggers.jade b/client/components/rules/triggers/cardTriggers.jade new file mode 100644 index 00000000..dd02413c --- /dev/null +++ b/client/components/rules/triggers/cardTriggers.jade @@ -0,0 +1,79 @@ +template(name="cardTriggers") + div.trigger-item + div.trigger-content + div.trigger-text + | {{{_'r-when-a-label-is'}}} + div.trigger-dropdown + select(id="label-action") + option(value="added") {{{_'r-added-to'}}} + option(value="removed") {{{_'r-removed-from'}}} + div.trigger-text + | {{{_'r-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 + | {{{_'r-when-the-label-is'}}} + div.trigger-dropdown + select(id="spec-label") + each labels + option(value="#{_id}") + = name + div.trigger-text + | {{{_'r-is'}}} + div.trigger-dropdown + select(id="spec-label-action") + option(value="added") {{{_'r-added-to'}}} + option(value="removed") {{{_'r-removed-from'}}} + div.trigger-text + | {{{_'r-a-card'}}} + div.trigger-button.js-add-spec-label-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{{_'r-when-a-member'}}} + div.trigger-dropdown + select(id="gen-member-action") + option(value="added") {{{_'r-added-to'}}} + option(value="removed") {{{_'r-removed-from'}}} + div.trigger-text + | {{{_'r-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 + | {{{_'r-when-the-member'}}} + div.trigger-dropdown + input(id="spec-member",type=text,placeholder="{{{_'r-name'}}}") + div.trigger-text + | {{{_'r-is'}}} + div.trigger-dropdown + select(id="spec-member-action") + option(value="added") {{{_'r-added-to'}}} + option(value="removed") {{{_'r-removed-from'}}} + div.trigger-text + | {{{_'r-a-card'}}} + div.trigger-button.js-add-spec-member-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{{_'r-when-a-attach'}}} + div.trigger-text + | {{{_'r-is'}}} + div.trigger-dropdown + select(id="attach-action") + option(value="added") {{{_'r-added-to'}}} + option(value="removed") {{{_'r-removed-from'}}} + div.trigger-text + | {{{_'r-a-card'}}} + div.trigger-button.js-add-attachment-trigger.js-goto-action + i.fa.fa-plus
\ No newline at end of file |