wco_email 0.1.1.67 → 0.1.1.69

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e9d0992b1efa5fb847eead2fac04d003d5ae0c9f490c8e2cd2ab1d3930381bc
4
- data.tar.gz: 2fff9353f6d728e57e684e05932acf84eb6bb47f8d64cbc925ca5412d48b1d05
3
+ metadata.gz: 5fa45bf99a9dc81c946efb071f55b20f251b5e2deef23c9cfc38b3d00f150503
4
+ data.tar.gz: b166016dfa4ba0f411df7c7d718e695be5cdf95a6d83ac4e9e98a7526ec2d469
5
5
  SHA512:
6
- metadata.gz: 8a8e596aa3abe76f2893614a99a5017798248c076a78e6cbf96ed112ba11bebcb15f5e8915aab7bf2b2710661eaa9f3313162911e3ff1e72bae198886e92ae1d
7
- data.tar.gz: e29d2c0e6371e4904e7c9cf083fdb32a281cfa5b72a94fcd81d23b5d36adaa7094903fff322e432361cd8ef3357996b9edc9af10606677d31813caa54183542e
6
+ metadata.gz: d5ea7eb0ed077f6c5340ebe20db9200745068e52eceb5b7b7dea48208f22c6aa3636d900fb06b3d722c22f4ee6bc797518c0ca988d09c4e2f692d8a6beb9a0a6
7
+ data.tar.gz: bc37c566c0b685956861c2787644d1c13c10a13a6ba6ce27790ed57dcc15f51633b2474f49bcd676efb6fac239bacb64eeecd4848f0dbc857c65bb2876fd120c
@@ -2,7 +2,7 @@
2
2
  .application--main-header.main-header{ class: "#{ENV['RAILS_ENV']} #{ENV['RAILS_ENV'][0...3]=="dev" ? "development" : ''}" }
3
3
  .maxwidth
4
4
  %i.fa.fa-compress.collapse-expand#collapseHeaderEmail
5
- Wco Email & CRM
5
+ Wco Email
6
6
  .flex-row
7
7
  %ul
8
8
  %li= link_to 'Inbox', conversations_in_path('inbox')
@@ -2,6 +2,9 @@
2
2
  - url = email_filter.new_record? ? email_filters_path : email_filter_path( email_filter )
3
3
  .email-filters--from
4
4
  = form_for email_filter, url: url, as: :email_filter do |f|
5
+ .actions
6
+ = f.submit
7
+
5
8
  .row.maxwidth
6
9
  .col-md-6
7
10
  .field
@@ -36,5 +39,15 @@
36
39
  .field
37
40
  = f.label :tag
38
41
  = f.select :tag, options_for_select( @tags_list, selected: email_filter.tag_id ), {}, class: 'select2'
42
+
43
+ .col-md-6
44
+ .field
45
+ %label skip to exact
46
+ = f.text_field :skip_to_exact
47
+ .field
48
+ %label skip from regex
49
+ = f.text_field :skip_from_regex
50
+
51
+ .col-md-6
39
52
  .actions
40
53
  = f.submit
@@ -20,6 +20,7 @@
20
20
  %th  
21
21
  %th n convs
22
22
  %th Match
23
+ %th Skip
23
24
  %th Action
24
25
 
25
26
  - @email_filters.each_with_index do |ef, idx|
@@ -47,6 +48,12 @@
47
48
  - if ef.body_exact.present?
48
49
  .a <b>body_exact:</b> `#{ef.body_exact}`
49
50
 
51
+ %td.skip
52
+ - if ef.skip_to_exact.present?
53
+ .a <b>skip_to_exact:</b> `#{ef.skip_to_exact}`
54
+ - if ef.skip_from_regex.present?
55
+ .a <b>skip_from_regex:</b> `#{ef.skip_from_regex}`
56
+
50
57
  %td.action
51
58
  - if ef.kind == EF::KIND_AUTORESPOND_TMPL
52
59
  .a <b>#{EF::KIND_AUTORESPOND_TMPL}:</b> #{ef.email_template&.slug}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.67
4
+ version: 0.1.1.69
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-17 00:00:00.000000000 Z
11
+ date: 2024-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3