From 87383e624855def55e13d238b2f20b79c418c1d9 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 21 Jan 2014 13:54:45 -0800 Subject: added default pricing, privacy policy and tos pages. --- app/views/pages/pricing.html.haml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/views/pages/pricing.html.haml (limited to 'app/views/pages/pricing.html.haml') 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 -- cgit v1.2.3