summaryrefslogtreecommitdiff
path: root/app/views/pages/pricing.html.haml
blob: ce4b379fb2e1b8d9437b4822ffa22572345fe67a (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].join(', ')
- else
  No service levels are configured.