saucy 0.2.13 → 0.2.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- <p class="name"><%= link_to_unless current_account?, plan.name, new_plan_account_path(plan) %></p>
1
+ <p class="name"><%= plan.name %></p>
2
2
  <p class="price"><% if plan.billed? %>$<%= plan.price %>/month<% else %>Free<% end %></p>
3
3
  <ul class="features">
4
4
  <% plan.limits.numbered.each do |limit| %>
@@ -0,0 +1,15 @@
1
+ <ul class="terms">
2
+ <li>
3
+ <h3>Monthly Plans</h3>
4
+ <p>All paid plans work on a monthly billing cycle, and the prices shown on this page reflect the monthly costs of using the service.</p>
5
+ </li>
6
+ <li>
7
+ <h3>Upgrade or Downgrade Anytime</h3>
8
+ <p>Once you signup you can upgrade, downgrade, or cancel your account at any time. The new charge will take effect on your next billing. If you cancel your account, we'll never bill you again. We don't pro-rate partial months, and we cannot issue refunds for partial or previous months.</p>
9
+ </li>
10
+ <li>
11
+ <h3>Questions?</h3>
12
+ <p>Have questions about plans or billing? <%= link_to "Get in touch", "http://help.#{request.domain}" %>!</p>
13
+ </li>
14
+ </ul>
15
+
@@ -1,22 +1,12 @@
1
1
  <ol>
2
2
  <% @plans.each do |plan| %>
3
3
  <%= content_tag_for :li, plan, :class => plan.name.parameterize do %>
4
- <%= render(plan) %>
4
+ <%= link_to new_plan_account_path(plan) do -%>
5
+ <%= render(plan) %>
6
+ <% end -%>
5
7
  <% end %>
6
8
  <% end %>
7
9
  </ol>
8
10
 
9
- <ul class="terms">
10
- <li>
11
- <h3>Monthly Plans</h3>
12
- <p>All paid plans work on a monthly billing cycle, and the prices shown on this page reflect the monthly costs of using the service.</p>
13
- </li>
14
- <li>
15
- <h3>Upgrade or Downgrade Anytime</h3>
16
- <p>Once you signup you can upgrade, downgrade, or cancel your account at any time. The new charge will take effect on your next billing. If you cancel your account, we'll never bill you again. We don't pro-rate partial months, and we cannot issue refunds for partial or previous months.</p>
17
- </li>
18
- <li>
19
- <h3>Questions?</h3>
20
- <p>Have questions about plans or billing? <%= link_to "Get in touch", "http://help.#{request.domain}" %>!</p>
21
- </li>
22
- </ul>
11
+ <%= render 'plans/terms' %>
12
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saucy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 13
10
- version: 0.2.13
9
+ - 14
10
+ version: 0.2.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - thoughtbot, inc.
@@ -162,6 +162,7 @@ files:
162
162
  - app/views/memberships/edit.html.erb
163
163
  - app/views/memberships/index.html.erb
164
164
  - app/views/plans/_plan.html.erb
165
+ - app/views/plans/_terms.html.erb
165
166
  - app/views/plans/edit.html.erb
166
167
  - app/views/plans/index.html.erb
167
168
  - app/views/profiles/_inputs.html.erb