summaryrefslogtreecommitdiff
path: root/app/views/pages/pricing.html.haml
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-01-21 13:54:45 -0800
committerelijah <elijah@riseup.net>2014-01-23 11:37:49 -0800
commit87383e624855def55e13d238b2f20b79c418c1d9 (patch)
treebfba7820ab8ed90b433c5e0fc56def4c7ea523fc /app/views/pages/pricing.html.haml
parent01941b7d930c581a6684f6b939b3ae2f62bd832e (diff)
added default pricing, privacy policy and tos pages.
Diffstat (limited to 'app/views/pages/pricing.html.haml')
-rw-r--r--app/views/pages/pricing.html.haml21
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