wco_email 0.1.1.43 → 0.1.1.45

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: a4f5a24966a345bec2b8942ca03aaca2813fe245c2fd8864239f2b1311dfa78f
4
- data.tar.gz: c83d7b22c3cf41abccbc5022acefaae5e46bc4aea0ec7c1bf67ffa8b79612c85
3
+ metadata.gz: 3de386dce58be9108942565bde099d2dfaf0bf19477dadbba6141c80554b45c5
4
+ data.tar.gz: e4a1f65a40fe9493b0489dc493aa954945af182d6a9a421a1dac37f7ad6ec307
5
5
  SHA512:
6
- metadata.gz: 9f8d309f71c2b601bf4c0201841d9f9082e85cde5685929dc0f592b1d896f01a456f6015df294f4e44253867e145c3c9dccf797bb6bfb8f2172a1c69b1fc927f
7
- data.tar.gz: 3d96c9724b519694ad9b7c2e1f0c08d870c18766756c9e7ae0fa6522860ed43ff6d516e26974c2adb92ccefbe7d9a656f389593eae7d8137fbb02f1e69a6c7c9
6
+ metadata.gz: 16f6f116aa3da37a3064592efb63220894bba9c5f10ce28ae9312c0fb6ac5eccfcba4c8083de6c21ec0de377befc0d4b458ddd1a58390f360298b12b755cefc2
7
+ data.tar.gz: 1a886343593044574fd6963cba4ba36c04ffda384c8f3941592fed4ae9c9415d623f9d8b15ef1e534c9fd47e567efe3d29090611b5d809c433400acf2383e772
@@ -12,7 +12,7 @@
12
12
  = f.select :lead, options_for_select( @leads_list, selected: lead_id ), {}, class: 'select2', required: true
13
13
  .flex-row
14
14
  = f.label :template
15
- = f.select :email_template_id, options_for_select( @email_templates_list ), {}, class: 'select2', required: true
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
17
  .flex-row
18
18
  %label Subject
@@ -24,4 +24,4 @@
24
24
  = render '/wco_email/messages/meta', message: msg
25
25
  %iframe.message-iframe{ src: message_iframe_path(msg) }
26
26
 
27
- = render '/wco_email/contexts/form_reply', lead_id: msg.lead_id, message: msg, ctx: WcoEmail::Context.new({ from_email: msg.to&.downcase, subject: msg.subject })
27
+ = render '/wco_email/contexts/form_reply', lead_id: msg.lead_id, message: msg, ctx: WcoEmail::Context.new({ from_email: msg.to&.downcase, subject: msg.subject, email_template_id: ET.find_by( slug: 'blank').id })
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.43
4
+ version: 0.1.1.45
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-01-18 00:00:00.000000000 Z
11
+ date: 2024-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: jbuilder
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 2.11.5
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 2.11.5
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: kaminari-mongoid
113
127
  requirement: !ruby/object:Gem::Requirement