ish_manager 0.1.8.316 → 0.1.8.318

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/ish_manager/application.scss +4 -0
  3. data/app/assets/stylesheets/ish_manager/email_templates.scss +47 -0
  4. data/app/controllers/ish_manager/{campaigns_controller.rb → email_campaigns_controller.rb} +1 -1
  5. data/app/controllers/ish_manager/email_contexts_controller.rb +74 -0
  6. data/app/controllers/ish_manager/email_templates_controller.rb +43 -0
  7. data/app/controllers/ish_manager/invoices_controller.rb +2 -2
  8. data/app/controllers/ish_manager/leads_controller.rb +2 -1
  9. data/app/controllers/ish_manager/meetings_controller.rb +1 -1
  10. data/app/controllers/ish_manager/{cities_controller.rb → trash/cities_controller.rb} +0 -0
  11. data/app/controllers/ish_manager/{orders_controller.rb → trash/orders_controller.rb} +0 -0
  12. data/app/controllers/ish_manager/{sites_controller.rb → trash/sites_controller.rb} +0 -0
  13. data/app/controllers/ish_manager/{venues_controller.rb → trash/venues_controller.rb} +0 -0
  14. data/app/controllers/ish_manager/unsubscribes_controller.rb +1 -1
  15. data/app/mailers/ish_manager/office_mailer.rb +22 -0
  16. data/app/views/ish_manager/application/_main_header_admin.haml +13 -1
  17. data/app/views/ish_manager/email_contexts/_form.haml +26 -0
  18. data/app/views/ish_manager/email_contexts/edit.haml +3 -0
  19. data/app/views/ish_manager/email_contexts/iframe_src.haml +4 -0
  20. data/app/views/ish_manager/email_contexts/index.haml +21 -0
  21. data/app/views/ish_manager/email_contexts/new.haml +3 -0
  22. data/app/views/ish_manager/email_contexts/show.haml +16 -0
  23. data/app/views/ish_manager/email_templates/_form.haml +11 -0
  24. data/app/views/ish_manager/email_templates/_marketing_ror_1.html +0 -0
  25. data/app/views/ish_manager/email_templates/_marketing_ror_2.html +0 -0
  26. data/app/views/ish_manager/email_templates/_marketing_wordpress_1.html +0 -0
  27. data/app/views/ish_manager/email_templates/_marketing_wordpress_2.html +0 -0
  28. data/app/views/ish_manager/email_templates/_piousbox_roundborders.html.erb +1005 -0
  29. data/app/views/ish_manager/email_templates/_social.html.erb +181 -0
  30. data/app/views/ish_manager/email_templates/index.haml +18 -0
  31. data/app/views/ish_manager/email_templates/show.haml +4 -0
  32. data/app/views/ish_manager/{application_mailer → iron_warbler_mailer}/condor_followup_alerb.html.erb +0 -0
  33. data/app/views/ish_manager/{application_mailer → iron_warbler_mailer}/option_alert.html.erb +0 -0
  34. data/app/views/ish_manager/{application_mailer → iron_warbler_mailer}/stock_alert.html.erb +0 -0
  35. data/app/views/ish_manager/maps/_map_meta_row.haml +1 -1
  36. data/app/views/ish_manager/{meeting_mailer → office_mailer}/morning_reminder.haml +0 -0
  37. data/app/views/ish_manager/office_mailer/render +1 -0
  38. data/app/views/ish_manager/{application_mailer → office_mailer}/test_email.html.haml +0 -0
  39. data/app/views/ish_manager/{cities → trash/cities}/_form.haml +0 -0
  40. data/app/views/ish_manager/{cities → trash/cities}/_header.haml +0 -0
  41. data/app/views/ish_manager/{cities → trash/cities}/edit.haml +0 -0
  42. data/app/views/ish_manager/{cities → trash/cities}/edit_feature.haml +0 -0
  43. data/app/views/ish_manager/{cities → trash/cities}/index.haml +0 -0
  44. data/app/views/ish_manager/{cities → trash/cities}/new.haml +0 -0
  45. data/app/views/ish_manager/{cities → trash/cities}/new_feature.haml +0 -0
  46. data/app/views/ish_manager/{cities → trash/cities}/new_newsitem.haml +0 -0
  47. data/app/views/ish_manager/{cities → trash/cities}/show.haml +0 -0
  48. data/app/views/ish_manager/{events → trash/events}/_form.haml +0 -0
  49. data/app/views/ish_manager/{events → trash/events}/_index.haml +0 -0
  50. data/app/views/ish_manager/{events → trash/events}/edit.haml +0 -0
  51. data/app/views/ish_manager/{events → trash/events}/index.haml +0 -0
  52. data/app/views/ish_manager/{events → trash/events}/new.haml +0 -0
  53. data/app/views/ish_manager/trash/meeting_mailer/README.txt +5 -0
  54. data/app/views/ish_manager/{sites → trash/sites}/_form.haml +0 -0
  55. data/app/views/ish_manager/{sites → trash/sites}/_header.haml +0 -0
  56. data/app/views/ish_manager/{sites → trash/sites}/edit.haml +0 -0
  57. data/app/views/ish_manager/{sites → trash/sites}/galleries.haml +0 -0
  58. data/app/views/ish_manager/{sites → trash/sites}/index.haml +0 -0
  59. data/app/views/ish_manager/{sites → trash/sites}/new.haml +0 -0
  60. data/app/views/ish_manager/{sites → trash/sites}/show.haml +0 -0
  61. data/app/views/ish_manager/{venues → trash/venues}/_form.haml +0 -0
  62. data/app/views/ish_manager/{venues → trash/venues}/_index.haml +0 -0
  63. data/app/views/ish_manager/{venues → trash/venues}/_search.haml +0 -0
  64. data/app/views/ish_manager/{venues → trash/venues}/edit.haml +0 -0
  65. data/app/views/ish_manager/{venues → trash/venues}/index.haml +0 -0
  66. data/app/views/ish_manager/{venues → trash/venues}/new.haml +0 -0
  67. data/app/views/ish_manager/{venues → trash/venues}/show.haml +0 -0
  68. data/app/views/layouts/ish_manager/application.haml +13 -13
  69. data/config/routes.rb +24 -7
  70. metadata +61 -41
  71. data/app/views/ish_manager/features/_index.haml-trash +0 -36
@@ -0,0 +1,181 @@
1
+ <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnFollowBlock" style="min-width:100%;">
2
+ <tbody class="mcnFollowBlockOuter">
3
+ <tr>
4
+ <td align="center" valign="top" style="padding:9px" class="mcnFollowBlockInner">
5
+ <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnFollowContentContainer"
6
+ style="min-width:100%;">
7
+ <tbody>
8
+ <tr>
9
+ <td align="center" style="padding-left:9px;padding-right:9px;">
10
+ <table border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width:100%;"
11
+ class="mcnFollowContent">
12
+ <tbody>
13
+ <tr>
14
+ <td align="center" valign="top" style="padding-top:9px; padding-right:9px; padding-left:9px;">
15
+ <table align="center" border="0" cellpadding="0" cellspacing="0">
16
+ <tbody>
17
+ <tr>
18
+ <td align="center" valign="top">
19
+ <!--[if mso]>
20
+ <table align="center" border="0" cellspacing="0" cellpadding="0">
21
+ <tr>
22
+ <![endif]-->
23
+
24
+ <!--[if mso]>
25
+ <td align="center" valign="top">
26
+ <![endif]-->
27
+
28
+
29
+ <table align="left" border="0" cellpadding="0" cellspacing="0" style="display:inline;">
30
+ <tbody>
31
+ <tr>
32
+ <td valign="top" style="padding-right:10px; padding-bottom:9px;"
33
+ class="mcnFollowContentItemContainer">
34
+ <table border="0" cellpadding="0" cellspacing="0" width="100%"
35
+ class="mcnFollowContentItem">
36
+ <tbody>
37
+ <tr>
38
+ <td align="left" valign="middle"
39
+ style="padding-top:5px; padding-right:10px; padding-bottom:5px; padding-left:9px;">
40
+ <table align="left" border="0" cellpadding="0" cellspacing="0" width="">
41
+ <tbody>
42
+ <tr>
43
+
44
+ <td align="center" valign="middle" width="24"
45
+ class="mcnFollowIconContent">
46
+ <a href="mailto:victor@piousbox.com" target="_blank"><img
47
+ src="https://cdn-images.mailchimp.com/icons/social-block-v2/color-forwardtofriend-48.png"
48
+ alt="Email" style="display:block;" height="24" width="24"
49
+ class=""></a>
50
+ </td>
51
+
52
+
53
+ </tr>
54
+ </tbody>
55
+ </table>
56
+ </td>
57
+ </tr>
58
+ </tbody>
59
+ </table>
60
+ </td>
61
+ </tr>
62
+ </tbody>
63
+ </table>
64
+
65
+ <!--[if mso]>
66
+ </td>
67
+ <![endif]-->
68
+
69
+ <!--[if mso]>
70
+ <td align="center" valign="top">
71
+ <![endif]-->
72
+
73
+
74
+ <table align="left" border="0" cellpadding="0" cellspacing="0" style="display:inline;">
75
+ <tbody>
76
+ <tr>
77
+ <td valign="top" style="padding-right:10px; padding-bottom:9px;"
78
+ class="mcnFollowContentItemContainer">
79
+ <table border="0" cellpadding="0" cellspacing="0" width="100%"
80
+ class="mcnFollowContentItem">
81
+ <tbody>
82
+ <tr>
83
+ <td align="left" valign="middle"
84
+ style="padding-top:5px; padding-right:10px; padding-bottom:5px; padding-left:9px;">
85
+ <table align="left" border="0" cellpadding="0" cellspacing="0" width="">
86
+ <tbody>
87
+ <tr>
88
+
89
+ <td align="center" valign="middle" width="24"
90
+ class="mcnFollowIconContent">
91
+ <a href="https://github.com/piousbox" target="_blank"><img
92
+ src="https://cdn-images.mailchimp.com/icons/social-block-v2/color-github-48.png"
93
+ alt="Github" style="display:block;" height="24" width="24"
94
+ class=""></a>
95
+ </td>
96
+
97
+
98
+ </tr>
99
+ </tbody>
100
+ </table>
101
+ </td>
102
+ </tr>
103
+ </tbody>
104
+ </table>
105
+ </td>
106
+ </tr>
107
+ </tbody>
108
+ </table>
109
+
110
+ <!--[if mso]>
111
+ </td>
112
+ <![endif]-->
113
+
114
+ <!--[if mso]>
115
+ <td align="center" valign="top">
116
+ <![endif]-->
117
+
118
+
119
+ <table align="left" border="0" cellpadding="0" cellspacing="0" style="display:inline;">
120
+ <tbody>
121
+ <tr>
122
+ <td valign="top" style="padding-right:0; padding-bottom:9px;"
123
+ class="mcnFollowContentItemContainer">
124
+ <table border="0" cellpadding="0" cellspacing="0" width="100%"
125
+ class="mcnFollowContentItem">
126
+ <tbody>
127
+ <tr>
128
+ <td align="left" valign="middle"
129
+ style="padding-top:5px; padding-right:10px; padding-bottom:5px; padding-left:9px;">
130
+ <table align="left" border="0" cellpadding="0" cellspacing="0" width="">
131
+ <tbody>
132
+ <tr>
133
+
134
+ <td align="center" valign="middle" width="24"
135
+ class="mcnFollowIconContent">
136
+ <a href="https://www.instagram.com/piousbox/"
137
+ target="_blank"><img
138
+ src="https://cdn-images.mailchimp.com/icons/social-block-v2/color-instagram-48.png"
139
+ alt="Instagram" style="display:block;" height="24"
140
+ width="24" class=""></a>
141
+ </td>
142
+
143
+
144
+ </tr>
145
+ </tbody>
146
+ </table>
147
+ </td>
148
+ </tr>
149
+ </tbody>
150
+ </table>
151
+ </td>
152
+ </tr>
153
+ </tbody>
154
+ </table>
155
+
156
+ <!--[if mso]>
157
+ </td>
158
+ <![endif]-->
159
+
160
+ <!--[if mso]>
161
+ </tr>
162
+ </table>
163
+ <![endif]-->
164
+
165
+ </td>
166
+ </tr>
167
+ </tbody>
168
+ </table>
169
+ </td>
170
+ </tr>
171
+ </tbody>
172
+ </table>
173
+ </td>
174
+ </tr>
175
+ </tbody>
176
+ </table>
177
+
178
+ </td>
179
+ </tr>
180
+ </tbody>
181
+ </table>
@@ -0,0 +1,18 @@
1
+
2
+
3
+ .email-templates-index
4
+ %h3 Email Templates
5
+ = render 'ish_manager/email_templates/form', email_template: ::Ish::EmailTemplate.new
6
+
7
+
8
+
9
+ %ul
10
+ - @templates.each do |tmpl|
11
+ %li
12
+ = link_to 'Use', new_email_context_path({ email_template_id: tmpl.id })
13
+ = link_to email_template_path({ id: tmpl }), target: :_blank, class: 'external' do
14
+ View
15
+ %i.fa.fa-external-link
16
+ = tmpl.slug
17
+ = button_to '[x]', email_template_path({ id: tmpl }), method: :delete, :data => { :confirm => 'Are you sure?' }, form_class: 'inline'
18
+
@@ -0,0 +1,4 @@
1
+
2
+ %p This view of an email_template has an empty context:
3
+
4
+ = render @template.slug
@@ -6,6 +6,6 @@
6
6
  .a= button_to 'map editor', location_map_editor_path(map.id), method: :get
7
7
  .a= button_to '+marker', new_map_marker_path(map), method: :get
8
8
  .a= button_to '+newsitem', new_map_newsitem_path(map), method: :get
9
- .a= link_to '[api]', api_map_path(map)
9
+ .a= link_to '[api]', api_map_path(map), target: :_blank
10
10
  .a= button_to 'x', map_path(map), method: :delete, data: { confirm: 'Are you sure?' }
11
11
  .a slug:#{map.slug}
@@ -0,0 +1 @@
1
+ ../email_templates
@@ -0,0 +1,5 @@
1
+
2
+
3
+ it was meeting_mailer, not meetings_mailer.
4
+
5
+ moved everything into office_mailer
@@ -32,20 +32,20 @@
32
32
  %body{ class: [ params[:controller].gsub("ish_manager/",""), "#{params[:controller].gsub("ish_manager/","")}-#{params[:action]}", params[:action]] }
33
33
  .bg-white
34
34
  = render :partial => "ish_manager/application/main_header_#{current_user.profile.role_name}"
35
- - if notice || alert
36
- .row
37
- .col.s12
38
- - if notice
39
- - if notice.class == Array
40
- %ul
41
- - notice.map do |n|
42
- %li
43
- - n.map do |k,v|
44
- <b>#{k} :</b> #{v}
45
- %p.notice= notice
46
- - if alert
47
- %p.alert= alert
48
35
  .container
36
+ - if notice || alert
37
+ .row
38
+ .col.s12
39
+ - if notice
40
+ - if notice.class == Array
41
+ %ul
42
+ - notice.map do |n|
43
+ %li
44
+ - n.map do |k,v|
45
+ <b>#{k} :</b> #{v}
46
+ %p.notice= notice
47
+ - if alert
48
+ %p.alert= alert
49
49
  = yield
50
50
  = render 'ish_manager/application/main_footer'
51
51
  = render 'analytics' if Rails.env.production?
data/config/routes.rb CHANGED
@@ -57,16 +57,33 @@ IshManager::Engine.routes.draw do
57
57
  resources 'markers'
58
58
  end
59
59
 
60
- ## @TODO: move into a namespace, eg :office_suite
61
- get 'leads', :to => 'leads#index', :defaults => { :is_done => false }
60
+
61
+ #
62
+ # office, below
63
+ #
64
+ get 'leads', :to => 'leads#index', :defaults => { :is_done => false }, as: :leads
62
65
  get 'leads/done', :to => 'leads#index', :defaults => { :is_done => true }, :as => :done_leads
63
66
  resources :leads
67
+
64
68
  resources :meetings
65
- namespace :office_suite do
66
- resources :campaigns
67
- resources :email_templates
68
- resources :unsubscribes
69
- end
69
+ resources :email_campaigns, as: :email_campaigns
70
+
71
+ get 'email_contexts/iframe_src/:id', to: 'email_contexts#iframe_src', as: :email_context_iframe
72
+ get 'email_contexts/new_with/:template_slug', to: 'email_contexts#new'
73
+ post 'email_contexts/send/:id', to: 'email_contexts#do_send', as: :email_context_send
74
+ resources :email_contexts
75
+
76
+ get 'email_templates/iframe_src/:slug', to: 'email_templates#iframe_src'
77
+ get 'email_templates/show/:id', to: 'email_templates#show', as: :email_template
78
+ delete 'email_templates/show/:id', to: 'email_templates#destroy'
79
+ resources :email_templates
80
+
81
+ resources :unsubscribes
82
+ resources :sent_emails
83
+ #
84
+ # office, above
85
+ #
86
+
70
87
 
71
88
  resources :newsitems
72
89
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.316
4
+ version: 0.1.8.318
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-26 00:00:00.000000000 Z
11
+ date: 2022-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -251,6 +251,7 @@ files:
251
251
  - app/assets/javascripts/ish_manager/vendor/jquery.iframe-transport.js
252
252
  - app/assets/javascripts/ish_manager/vendor/jquery.ui.widget.js
253
253
  - app/assets/stylesheets/ish_manager/application.scss
254
+ - app/assets/stylesheets/ish_manager/email_templates.scss
254
255
  - app/assets/stylesheets/ish_manager/galleries.scss
255
256
  - app/assets/stylesheets/ish_manager/jquery-ui.css
256
257
  - app/assets/stylesheets/ish_manager/leads.scss
@@ -265,8 +266,9 @@ files:
265
266
  - app/assets/stylesheets/ish_manager/user_profiles.scss
266
267
  - app/assets/stylesheets/ish_manager/videos.scss
267
268
  - app/controllers/ish_manager/application_controller.rb
268
- - app/controllers/ish_manager/campaigns_controller.rb
269
- - app/controllers/ish_manager/cities_controller.rb
269
+ - app/controllers/ish_manager/email_campaigns_controller.rb
270
+ - app/controllers/ish_manager/email_contexts_controller.rb
271
+ - app/controllers/ish_manager/email_templates_controller.rb
270
272
  - app/controllers/ish_manager/galleries_controller.rb
271
273
  - app/controllers/ish_manager/image_assets_controller.rb
272
274
  - app/controllers/ish_manager/invoices_controller.rb
@@ -275,16 +277,17 @@ files:
275
277
  - app/controllers/ish_manager/markers_controller.rb
276
278
  - app/controllers/ish_manager/meetings_controller.rb
277
279
  - app/controllers/ish_manager/newsitems_controller.rb
278
- - app/controllers/ish_manager/orders_controller.rb
279
280
  - app/controllers/ish_manager/payments_controller.rb
280
281
  - app/controllers/ish_manager/photos_controller.rb
281
282
  - app/controllers/ish_manager/reports_controller.rb
282
- - app/controllers/ish_manager/sites_controller.rb
283
283
  - app/controllers/ish_manager/tags_controller.rb
284
+ - app/controllers/ish_manager/trash/cities_controller.rb
285
+ - app/controllers/ish_manager/trash/orders_controller.rb
286
+ - app/controllers/ish_manager/trash/sites_controller.rb
287
+ - app/controllers/ish_manager/trash/venues_controller.rb
284
288
  - app/controllers/ish_manager/unsubscribes_controller.rb
285
289
  - app/controllers/ish_manager/user_profiles_controller.rb
286
290
  - app/controllers/ish_manager/users_controller.rb
287
- - app/controllers/ish_manager/venues_controller.rb
288
291
  - app/controllers/ish_manager/videos_controller.rb
289
292
  - app/helpers/ish_manager/application_helper.rb
290
293
  - app/helpers/ish_manager/images_helper.rb
@@ -292,6 +295,7 @@ files:
292
295
  - app/jobs/ish_manager/test_email_job.rb
293
296
  - app/mailers/ish_manager/application_mailer.rb
294
297
  - app/mailers/ish_manager/meeting_mailer.rb
298
+ - app/mailers/ish_manager/office_mailer.rb
295
299
  - app/models/ish_manager/ability.rb
296
300
  - app/models/ish_manager/application_record.rb
297
301
  - app/views/ish_manager/application/_analytics.html
@@ -307,29 +311,25 @@ files:
307
311
  - app/views/ish_manager/application/_profile_pic.haml
308
312
  - app/views/ish_manager/application/_search.haml
309
313
  - app/views/ish_manager/application/home.haml
310
- - app/views/ish_manager/application_mailer/condor_followup_alerb.html.erb
311
- - app/views/ish_manager/application_mailer/option_alert.html.erb
312
314
  - app/views/ish_manager/application_mailer/shared_galleries.html.erb
313
- - app/views/ish_manager/application_mailer/stock_alert.html.erb
314
- - app/views/ish_manager/application_mailer/test_email.html.haml
315
315
  - app/views/ish_manager/application_mailer/welcome.html.erb
316
- - app/views/ish_manager/cities/_form.haml
317
- - app/views/ish_manager/cities/_header.haml
318
- - app/views/ish_manager/cities/edit.haml
319
- - app/views/ish_manager/cities/edit_feature.haml
320
- - app/views/ish_manager/cities/index.haml
321
- - app/views/ish_manager/cities/new.haml
322
- - app/views/ish_manager/cities/new_feature.haml
323
- - app/views/ish_manager/cities/new_newsitem.haml
324
- - app/views/ish_manager/cities/show.haml
325
- - app/views/ish_manager/events/_form.haml
326
- - app/views/ish_manager/events/_index.haml
327
- - app/views/ish_manager/events/edit.haml
328
- - app/views/ish_manager/events/index.haml
329
- - app/views/ish_manager/events/new.haml
316
+ - app/views/ish_manager/email_contexts/_form.haml
317
+ - app/views/ish_manager/email_contexts/edit.haml
318
+ - app/views/ish_manager/email_contexts/iframe_src.haml
319
+ - app/views/ish_manager/email_contexts/index.haml
320
+ - app/views/ish_manager/email_contexts/new.haml
321
+ - app/views/ish_manager/email_contexts/show.haml
322
+ - app/views/ish_manager/email_templates/_form.haml
323
+ - app/views/ish_manager/email_templates/_marketing_ror_1.html
324
+ - app/views/ish_manager/email_templates/_marketing_ror_2.html
325
+ - app/views/ish_manager/email_templates/_marketing_wordpress_1.html
326
+ - app/views/ish_manager/email_templates/_marketing_wordpress_2.html
327
+ - app/views/ish_manager/email_templates/_piousbox_roundborders.html.erb
328
+ - app/views/ish_manager/email_templates/_social.html.erb
329
+ - app/views/ish_manager/email_templates/index.haml
330
+ - app/views/ish_manager/email_templates/show.haml
330
331
  - app/views/ish_manager/features/_form.haml
331
332
  - app/views/ish_manager/features/_index.haml
332
- - app/views/ish_manager/features/_index.haml-trash
333
333
  - app/views/ish_manager/features/_item.haml
334
334
  - app/views/ish_manager/features/edit.haml
335
335
  - app/views/ish_manager/features/index.haml
@@ -352,6 +352,9 @@ files:
352
352
  - app/views/ish_manager/invoices/_form.haml
353
353
  - app/views/ish_manager/invoices/index.haml
354
354
  - app/views/ish_manager/invoices/new.haml
355
+ - app/views/ish_manager/iron_warbler_mailer/condor_followup_alerb.html.erb
356
+ - app/views/ish_manager/iron_warbler_mailer/option_alert.html.erb
357
+ - app/views/ish_manager/iron_warbler_mailer/stock_alert.html.erb
355
358
  - app/views/ish_manager/kaminari/_first_page.html.erb
356
359
  - app/views/ish_manager/kaminari/_gap.html.erb
357
360
  - app/views/ish_manager/kaminari/_last_page.html.erb
@@ -377,7 +380,6 @@ files:
377
380
  - app/views/ish_manager/markers/_index_small.haml-trash
378
381
  - app/views/ish_manager/markers/edit.haml
379
382
  - app/views/ish_manager/markers/new.haml
380
- - app/views/ish_manager/meeting_mailer/morning_reminder.haml
381
383
  - app/views/ish_manager/meetings/_form.haml
382
384
  - app/views/ish_manager/meetings/edit.haml
383
385
  - app/views/ish_manager/meetings/index.haml
@@ -389,6 +391,9 @@ files:
389
391
  - app/views/ish_manager/newsitems/edit.haml
390
392
  - app/views/ish_manager/newsitems/index.haml
391
393
  - app/views/ish_manager/newsitems/new.haml
394
+ - app/views/ish_manager/office_mailer/morning_reminder.haml
395
+ - app/views/ish_manager/office_mailer/render
396
+ - app/views/ish_manager/office_mailer/test_email.html.haml
392
397
  - app/views/ish_manager/payments/index.haml
393
398
  - app/views/ish_manager/photos/_index_thumbs.haml
394
399
  - app/views/ish_manager/photos/_meta.haml
@@ -403,13 +408,6 @@ files:
403
408
  - app/views/ish_manager/reports/index.haml
404
409
  - app/views/ish_manager/reports/new.haml
405
410
  - app/views/ish_manager/reports/show.haml
406
- - app/views/ish_manager/sites/_form.haml
407
- - app/views/ish_manager/sites/_header.haml
408
- - app/views/ish_manager/sites/edit.haml
409
- - app/views/ish_manager/sites/galleries.haml
410
- - app/views/ish_manager/sites/index.haml
411
- - app/views/ish_manager/sites/new.haml
412
- - app/views/ish_manager/sites/show.haml
413
411
  - app/views/ish_manager/tags/_features.haml
414
412
  - app/views/ish_manager/tags/_form.haml
415
413
  - app/views/ish_manager/tags/_index.haml
@@ -421,6 +419,35 @@ files:
421
419
  - app/views/ish_manager/tags/index.haml
422
420
  - app/views/ish_manager/tags/new.haml
423
421
  - app/views/ish_manager/tags/show.haml
422
+ - app/views/ish_manager/trash/cities/_form.haml
423
+ - app/views/ish_manager/trash/cities/_header.haml
424
+ - app/views/ish_manager/trash/cities/edit.haml
425
+ - app/views/ish_manager/trash/cities/edit_feature.haml
426
+ - app/views/ish_manager/trash/cities/index.haml
427
+ - app/views/ish_manager/trash/cities/new.haml
428
+ - app/views/ish_manager/trash/cities/new_feature.haml
429
+ - app/views/ish_manager/trash/cities/new_newsitem.haml
430
+ - app/views/ish_manager/trash/cities/show.haml
431
+ - app/views/ish_manager/trash/events/_form.haml
432
+ - app/views/ish_manager/trash/events/_index.haml
433
+ - app/views/ish_manager/trash/events/edit.haml
434
+ - app/views/ish_manager/trash/events/index.haml
435
+ - app/views/ish_manager/trash/events/new.haml
436
+ - app/views/ish_manager/trash/meeting_mailer/README.txt
437
+ - app/views/ish_manager/trash/sites/_form.haml
438
+ - app/views/ish_manager/trash/sites/_header.haml
439
+ - app/views/ish_manager/trash/sites/edit.haml
440
+ - app/views/ish_manager/trash/sites/galleries.haml
441
+ - app/views/ish_manager/trash/sites/index.haml
442
+ - app/views/ish_manager/trash/sites/new.haml
443
+ - app/views/ish_manager/trash/sites/show.haml
444
+ - app/views/ish_manager/trash/venues/_form.haml
445
+ - app/views/ish_manager/trash/venues/_index.haml
446
+ - app/views/ish_manager/trash/venues/_search.haml
447
+ - app/views/ish_manager/trash/venues/edit.haml
448
+ - app/views/ish_manager/trash/venues/index.haml
449
+ - app/views/ish_manager/trash/venues/new.haml
450
+ - app/views/ish_manager/trash/venues/show.haml
424
451
  - app/views/ish_manager/unsubscribes/new.haml
425
452
  - app/views/ish_manager/user_profiles/_form.haml
426
453
  - app/views/ish_manager/user_profiles/_show.haml
@@ -430,13 +457,6 @@ files:
430
457
  - app/views/ish_manager/user_profiles/show.haml
431
458
  - app/views/ish_manager/users/_index.haml
432
459
  - app/views/ish_manager/users/index.haml
433
- - app/views/ish_manager/venues/_form.haml
434
- - app/views/ish_manager/venues/_index.haml
435
- - app/views/ish_manager/venues/_search.haml
436
- - app/views/ish_manager/venues/edit.haml
437
- - app/views/ish_manager/venues/index.haml
438
- - app/views/ish_manager/venues/new.haml
439
- - app/views/ish_manager/venues/show.haml
440
460
  - app/views/ish_manager/videos/_embed.haml
441
461
  - app/views/ish_manager/videos/_embed_half.erb
442
462
  - app/views/ish_manager/videos/_embed_mini.erb
@@ -1,36 +0,0 @@
1
- -#
2
- -# ish_manager / features / _index
3
- -#
4
-
5
- - if defined? city
6
- - edit_url = -> (feature ) { edit_city_feature_path( city.id, feature.id ) }
7
- - delete_url = -> (feature ) { city_feature_path( city.id, feature.id ) }
8
- - new_path = new_city_feature_path( city.id )
9
- - if defined? site
10
- - edit_url = -> (feature) { edit_site_feature_path( site.id, feature.id ) }
11
- - delete_url = -> (feature) { site_feature_path( site.id, feature.id ) }
12
- - new_path = new_site_feature_path( site.id )
13
- - if defined?(tag)
14
- - edit_url = -> (feature) { edit_tag_feature_path( tag.id, feature.id ) }
15
- - delete_url = -> (feature) { tag_feature_path( tag.id, feature.id ) }
16
- - new_path = new_tag_feature_path( tag.id )
17
- - if params[:tag_id]
18
- - edit_url = -> (feature) { edit_tag_feature_path( params[:tag_id], feature.id ) }
19
- - delete_url = -> (feature) { tag_feature_path( params[:tag_id], feature.id ) }
20
- - new_path = new_tag_feature_path( params[:tag_id] )
21
-
22
- .manager-features--index
23
- %h3
24
- Features (#{features.length})
25
- = link_to image_new, new_path
26
-
27
- .row
28
- - features.each_with_index do |feature, idx|
29
- - if idx % 4 == 0
30
- .clearfix
31
- .col-sm-3
32
- .a
33
- = link_to '[~]', edit_url.call( feature )
34
- = button_to '[x]', delete_url.call( feature ), :method => :delete, :data => { :confirm => 'Are you sure?' }
35
- = render 'ish_manager/features/item', :feature => feature
36
- %hr