mail_manager 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTM3MzI4NzE3MmUxZDQ2N2VmMDRmMTc3NDY4ODc4MjVkZjVmOTUwMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTI0Yjg4NzgxNWVlMzc0ZWY3NWU2MjYwNTEyZGUwMzg5NjU3ZDdlMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjUzYzcwYzQxMjI2ODdkOGRjNTlkYWQ5NjgyZGQwMThmNTlmN2M4MzAzZDdl
|
10
|
+
ZGJjY2M0MWY0ZDRkMjlhZjQ4ZTczN2I2OGYyMjY4NjFkNmViYWJhNjE1ZmU4
|
11
|
+
MmVlODRmYjEwZGY2YzZkZTA1Njc4ODBjYmI0OGQ0NmQ1YTgwMmQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjA4OWM0ZTU1YzFlZjg5NWY1ZDFiOGQxYWUwODQ4YjU2MzViZDljYmUxMDYz
|
14
|
+
YTM0ZjgwMDc0MDU0Y2RmYWJlOGExMjJkYTBlYzA5ZTJhN2I4MGU1YjE5OTgz
|
15
|
+
YzE1ZDlkOTBlZDVkNzg5MTMwYWVhZjVkZGE1YWUxYzBiZDUwY2U=
|
@@ -1,13 +1,9 @@
|
|
1
1
|
<% unsubscribed_status ||= 'unsubscribed' %>
|
2
2
|
<%= contactable_form.fields_for :subscriptions do |subscription_fields| %>
|
3
3
|
<% subscription = subscription_fields.object %>
|
4
|
-
<
|
5
|
-
|
6
|
-
<%= subscription_fields.label :status, subscription.mailing_list.try(:name) %>
|
7
|
-
</td>
|
8
|
-
<td>
|
4
|
+
<div class="field">
|
5
|
+
<%= subscription_fields.label :status, subscription.mailing_list.try(:name) %><br/>
|
9
6
|
<%= subscription_fields.check_box :status, {}, 'active', subscription.status.eql?('active') ? unsubscribed_status : subscription.status %>
|
10
7
|
<%= subscription_fields.hidden_field :mailing_list_id %>
|
11
|
-
|
12
|
-
</tr>
|
8
|
+
</div>
|
13
9
|
<% end %>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<% unsubscribed_status ||= 'unsubscribed' %>
|
2
|
+
<%= contactable_form.fields_for :subscriptions do |subscription_fields| %>
|
3
|
+
<% subscription = subscription_fields.object %>
|
4
|
+
<div class="field">
|
5
|
+
<%= subscription_fields.label :status, subscription.mailing_list.try(:name) %><br/>
|
6
|
+
<%= subscription_fields.check_box :status, {}, 'active', subscription.status.eql?('active') ? unsubscribed_status : subscription.status %>
|
7
|
+
<%= subscription_fields.hidden_field :mailing_list_id %>
|
8
|
+
</div>
|
9
|
+
<% end %>
|
data/lib/mail_manager/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mail_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lone Star Internet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -186,6 +186,7 @@ files:
|
|
186
186
|
- app/views/mail_manager/messages/index.html.erb
|
187
187
|
- app/views/mail_manager/subscriptions/_form.html.erb
|
188
188
|
- app/views/mail_manager/subscriptions/_subscriptions.html.erb
|
189
|
+
- app/views/mail_manager/subscriptions/_subscriptions_divs.html.erb
|
189
190
|
- app/views/mail_manager/subscriptions/edit.html.erb
|
190
191
|
- app/views/mail_manager/subscriptions/index.html.erb
|
191
192
|
- app/views/mail_manager/subscriptions/new.html.erb
|