ish_manager 0.1.8.432 → 0.1.8.433

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: dd0cc9c3f7227cdc6dca94c10dd16da556553975d117cc827718e9b15c659d1b
4
- data.tar.gz: e4903fe1cd5bc4526febd2707a18608f5bd4c64e3c8d4c5ec1763ed5e8c55930
3
+ metadata.gz: 3851f500f04389f2ec81a1a8dd31f47060d9f001be4ddeb4244ea808909c0644
4
+ data.tar.gz: 7676488b23694c001a8ae1453eba0ce3a6b0ef55ce31336a4c5bc050f2f6c5dc
5
5
  SHA512:
6
- metadata.gz: a42652c42a41b2608f759a2789b737ab12c697a5cd3eeae1a78d82ba7afef7167b0c5f9cdeded3fc22702425cf9c85674b42e18125b4852f8471962834aee2fc
7
- data.tar.gz: 813787a6cad45c7cdbe1a9485058ba900a4f3027aad8a9d83ff8a53b32a6955ac1da1a89b5afbc97aa1ca9afcf981716400d7c8041ddbf1ff55938d14e30cf74
6
+ metadata.gz: 7c65c1edb906422b3ad548447da0d48811d7083e6d33b89de64d87aa4a5595f0b112f5c34d683da78449b6aa1fdfe9d2c8a6c2a704353399633d0173faf4e34a
7
+ data.tar.gz: 9facdfad77ef6a9e60058a348f42a00b77591fbcb252e50081ea0bad56eb5f5221a6c943c86a37deef15a81d1ed33edc5992236a4f4502fd0fb71ed17caa2f27
@@ -116,7 +116,8 @@ class ::IshManager::LeadsController < IshManager::ApplicationController
116
116
  else
117
117
  flash[:alert] = "Cannot update lead: #{@lead.errors.messages}"
118
118
  end
119
- redirect_to :action => 'index'
119
+ ## 2023-05-14 NOT redirecting to index anymore.
120
+ redirect_to :action => 'show', id: @lead.id
120
121
  end
121
122
 
122
123
  end
@@ -34,7 +34,7 @@
34
34
  .label-save-preview= f.submit 'Save & Preview'
35
35
  .tabs
36
36
  .tab-raw
37
- = f.text_area :body, class: 'tinymce'
37
+ = f.text_area :body
38
38
  .tab-preview
39
39
  - if ctx.new_record?
40
40
  New record...
@@ -23,6 +23,10 @@
23
23
  = f.label "Leadset (company)"
24
24
  = f.select :m3_leadset_id, options_for_select(@leadsets_list, selected: lead.m3_leadset_id), { include_blank: true }, { class: 'select2' }
25
25
 
26
+ .field
27
+ = f.label :comment
28
+ = f.text_area :comment
29
+
26
30
  -# .field
27
31
  -# = f.label "Tags"
28
32
  -# = f.text_field :wp_tags
@@ -40,7 +40,9 @@
40
40
  - leads.each do |lead|
41
41
  %tr
42
42
  %td= check_box_tag 'lead_ids[]', lead.id
43
- %td= link_to "#{lead.name} <#{lead.email}>", lead_path( lead )
43
+ %td
44
+ = link_to '[~]', edit_lead_path( lead )
45
+ = link_to "#{lead.name} <#{lead.email}>", lead_path( lead )
44
46
  %td.company
45
47
  = lead.company.company_url
46
48
  - if lead.company.name.present?
@@ -12,6 +12,7 @@
12
12
  %li Company: #{ link_to @lead.company.company_url, leadset_path(@lead.company) }
13
13
  %li Phone: #{@lead.phone}
14
14
  %li Address: #{@lead.address}
15
+ %li Comment: #{raw @lead.comment}
15
16
 
16
17
  .row
17
18
  .col-md-6.ctxs
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.432
4
+ version: 0.1.8.433
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox