diff options
author | jessib <jessib@riseup.net> | 2014-01-27 10:30:11 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2014-01-27 10:30:11 -0800 |
commit | 7e0573f3347dca6323eae05127849431ecbceb77 (patch) | |
tree | 8a6ff58fdcc93493b5a8f332350b0a9292119906 /app/views/pages/pricing.html.haml | |
parent | 3bfbf0ad20bb5b8e4689fda287cd47738571d10d (diff) | |
parent | d578c07e196cd9758fbf1752a9bb8477c260bb30 (diff) |
Merge branch 'develop' into feature/messages_api
Conflicts:
users/config/locales/en.yml
Diffstat (limited to 'app/views/pages/pricing.html.haml')
-rw-r--r-- | app/views/pages/pricing.html.haml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/views/pages/pricing.html.haml b/app/views/pages/pricing.html.haml new file mode 100644 index 0000000..77699d8 --- /dev/null +++ b/app/views/pages/pricing.html.haml @@ -0,0 +1,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[:cost].nil? || level[:cost] == 0 + = t(:free) + - else + = level[:cost].map{|currency,cost| "#{cost} #{currency}"}.join(', ') +- else + No service levels are configured.
\ No newline at end of file |