summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2014-05-06 09:35:53 +0200
committerazul <azul@riseup.net>2014-05-06 09:35:53 +0200
commit3afb745d961c5b34d980e7e005c4e7bf81a880c4 (patch)
tree1df6251eefa7fb27edd7409b7dd3ec044db69b47
parenta4131d472329dc6416623691dcc956dc32793638 (diff)
parent229b93f58787d86a41cba2a894f04d5c351d7a56 (diff)
Merge pull request #154 from azul/feature/display-pricing
adopt pricing view to current service_level format
-rw-r--r--app/views/pages/pricing.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/pages/pricing.html.haml b/app/views/pages/pricing.html.haml
index 77699d8..ce4b379 100644
--- a/app/views/pages/pricing.html.haml
+++ b/app/views/pages/pricing.html.haml
@@ -13,9 +13,9 @@
%td= level[:name]
%td= level[:description]
%td
- - if level[:cost].nil? || level[:cost] == 0
+ - if level[:rate].nil? || level[:rate] == 0
= t(:free)
- else
- = level[:cost].map{|currency,cost| "#{cost} #{currency}"}.join(', ')
+ = level[:rate].join(', ')
- else
- No service levels are configured. \ No newline at end of file
+ No service levels are configured.