wco_models 3.1.0.307 → 3.1.0.309

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8b107f17b60dcddeab84ba1533204dbd23dda3110cc7b9c8cbde6cf74c351a0
4
- data.tar.gz: 7113b4ae60dae51bc937d21b6cba0f81888614424f186a39285ac362f3ae97d9
3
+ metadata.gz: cc2299db4811474bc24b7075c7a8c7d9be22b23dd336110a739307a28e7cc1bf
4
+ data.tar.gz: d55a0af6eeb1481377cc4f48f4baef3f092da6a502ed33f464294606d4b42488
5
5
  SHA512:
6
- metadata.gz: c508b6c0cc2292dec7d3a7df14c073987bc5f3f35e94cde2cfb7e98a16c660065d15b26a39fe200d239fe1efbf7418570e8904a33523408eb336d5f5b42cc985
7
- data.tar.gz: fe5eed5bbcb2296815c3754c62acaa6225118bee1c2ac4c93d7a8b04e8535b2442c077bfbeb7df017fc400aec237a3b49eedc7d67a2b65ceadb868dc121204b0
6
+ metadata.gz: 7bc3e4560537d59fa81574cc99987289c023660c12ff2dc07ea8a626d348f3400e6b09b20208b0c3a07097f24bd78e05f0f34f653fef7ad1f03d530e152014eb
7
+ data.tar.gz: 2f5a75809e82d9d745176631f296c5b943c093c505aa2408bfe1501569cba351fc6026f0eaaf9d2f3b108e07d409786e71cbfbc56f8ac2709faf79a6ae8990be
@@ -6,6 +6,7 @@ class WcoEmail::EmailFilterCondition
6
6
 
7
7
  belongs_to :email_filter, class_name: '::WcoEmail::EmailFilter', inverse_of: :conditions, optional: true
8
8
  belongs_to :email_skip_filter, class_name: '::WcoEmail::EmailFilter', inverse_of: :skip_conditions, optional: true
9
+ index({ email_filter_id: 1, email_skip_filter_id: 1, field: 1, operator: 1, value: 1 }, unique: true )
9
10
 
10
11
  FIELD_BODY = 'body'
11
12
  FIELD_BODY_PLAIN = 'body-plain'
@@ -47,7 +48,6 @@ class WcoEmail::EmailFilterCondition
47
48
  field :value
48
49
  validates :value, presence: true
49
50
 
50
- index({ email_filter_id: 1, field: 1, operator: 1, value: 1 }, unique: true )
51
51
 
52
52
  def apply lead:, message:
53
53
  cond = self
@@ -16,9 +16,7 @@
16
16
  <b>unsubscribed_at:</b>
17
17
  = @lead.unsubscribed_at
18
18
  %li
19
- Leadset:
20
- = link_to @lead.leadset.company_url, leadset_path(@lead.leadset)
21
- = link_to '[~]', edit_leadset_path(@lead.leadset)
19
+ = render 'wco/leadsets/show_inline', leadset: @lead.leadset
22
20
  -# %li Rating: #{@lead.rating}
23
21
  - if @lead.phone
24
22
  %li Phone: #{@lead.phone}
@@ -0,0 +1,6 @@
1
+
2
+ .leadsets--show-inline
3
+ Leadset:
4
+ = link_to leadset.company_url, leadset_path(leadset)
5
+ = link_to '[~]', edit_leadset_path(leadset)
6
+ = render 'wco/tags/list_chips', tags: leadset.tags
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.307
4
+ version: 3.1.0.309
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
@@ -635,6 +635,7 @@ files:
635
635
  - app/views/wco/leadsets/_index.haml
636
636
  - app/views/wco/leadsets/_index_chips.haml
637
637
  - app/views/wco/leadsets/_list.haml
638
+ - app/views/wco/leadsets/_show_inline.haml
638
639
  - app/views/wco/leadsets/edit.haml
639
640
  - app/views/wco/leadsets/index.haml
640
641
  - app/views/wco/leadsets/index_dataTables.haml