summaryrefslogtreecommitdiff
path: root/app/views/pages/pricing.html.haml
blob: e339d2756cd1f637350735ddfc9b5675124377c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
%h1= t(:pricing)
%p= link_to(icon('user') + t(:signup), signup_path, :class => 'btn')

- levels = APP_CONFIG[:service_levels]
- if levels
  %table.table.table-striped.table-bordered
    %tr
      %th= t :plan
      %th= t :description
      %th= t :monthly_cost
    - levels.each do |id, level|
      %tr
        %td= level[:name]
        %td= level[:description]
        %td
          - if level[:rate].nil? || level[:rate] == 0
            = t(:free)
          - else
            = level[:rate].collect{|currency, price| "#{currency} #{price}"}.join(', ')
- else
  No service levels are configured.