summaryrefslogtreecommitdiff
path: root/app/views/pages/pricing.html.haml
blob: 983501e4e4c62df58a6a82b4933ab1c33907c309 (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= btn icon('user') + t(:signup), signup_path

- 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.