wco_email 0.1.1.69 → 0.1.1.71

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: 5fa45bf99a9dc81c946efb071f55b20f251b5e2deef23c9cfc38b3d00f150503
4
- data.tar.gz: b166016dfa4ba0f411df7c7d718e695be5cdf95a6d83ac4e9e98a7526ec2d469
3
+ metadata.gz: d19500786f1ed1265575707c15d0692ef028bce2787bb319bd79fb9fa565843c
4
+ data.tar.gz: 7db5eb86566d1bfc24a191a6d5f95779be918789e83fb137270d98bb39f4f523
5
5
  SHA512:
6
- metadata.gz: d5ea7eb0ed077f6c5340ebe20db9200745068e52eceb5b7b7dea48208f22c6aa3636d900fb06b3d722c22f4ee6bc797518c0ca988d09c4e2f692d8a6beb9a0a6
7
- data.tar.gz: bc37c566c0b685956861c2787644d1c13c10a13a6ba6ce27790ed57dcc15f51633b2474f49bcd676efb6fac239bacb64eeecd4848f0dbc857c65bb2876fd120c
6
+ metadata.gz: 34f610f692aa355f5bb27b1f78078b674a7aa462fc10103d25b2267dbfe14b95da8ed1a3879375f42e38c443b9ca2e3fbdc4f67d14c8b89ce8966bcba350d296
7
+ data.tar.gz: 0c29c54a11eb251087e12571e127a7569f6ded7fef5b9e406ca7d269c19a8be0555aafc6dcaf3b99db162d62286248e6c0f29cff4be1e9fd7b2f0b9159c9063f
@@ -47,10 +47,11 @@ class WcoEmail::ContextsController < WcoEmail::ApplicationController
47
47
  def index
48
48
  authorize! :index, WcoEmail::Context
49
49
  @ctxs = WcoEmail::Context.where(
50
- :send_at.ne => nil, sent_at: nil
51
- ).order_by( sent_at: :desc, send_at: :desc
52
- ).page( params[:ctxs_page]
53
- ).per( current_profile.per_page )
50
+ :send_at.ne => nil,
51
+ sent_at: nil,
52
+ ).order_by( sent_at: :desc, send_at: :desc
53
+ ).page( params[:ctxs_page]
54
+ ).per( current_profile.per_page )
54
55
 
55
56
  if params[:lead_id]
56
57
  @lead = Lead.find params[:lead_id]
@@ -6,17 +6,17 @@
6
6
 
7
7
  .flex-row
8
8
  .flex-row
9
- %label from&nbsp;
9
+ %label From&nbsp;
10
10
  = f.select :from_email, options_for_select( WcoEmail::EmailTemplate.from_emails_list, selected: ctx.from_email ), {}, class: 'select2'
11
- %label &nbsp;to&nbsp;
11
+ %label &nbsp;To&nbsp;
12
12
  = f.select :lead, options_for_select( @leads_list, selected: lead_id ), {}, class: 'select2', required: true
13
13
  .flex-row
14
- %label &nbsp;template&nbsp;
14
+ %label &nbsp;Template&nbsp;
15
15
  = f.select :email_template_id, options_for_select( @email_templates_list, selected: ctx.email_template_id ), {}, class: 'select2', required: true
16
16
  = link_to '[+]', new_email_template_path, target: :_blank
17
- -# .flex-row
18
- -# %label Subject&nbsp;
19
- -# = f.text_field :subject, class: 'w-100', disabled: true
17
+ .flex-row
18
+ %label Subject&nbsp;
19
+ = f.text_field :subject, class: 'w-100' # , disabled: true
20
20
  .field
21
21
  = f.text_area :body, class: 'tinymce'
22
22
  .flex-row
@@ -11,8 +11,7 @@
11
11
  = link_to '[~]', edit_conversation_path(@conversation)
12
12
  %span.gray.mini= @conversation.id
13
13
 
14
- = render 'wco/tags/list_mini', tags: @conversation.tags
15
-
14
+ = render '/wco/tags/index_chips', tags: @conversation.tags
16
15
 
17
16
  = render '/wco_email/conversations/actions'
18
17
 
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.69
4
+ version: 0.1.1.71
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-31 00:00:00.000000000 Z
11
+ date: 2024-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3