summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-04-29 13:56:14 +0200
committerAzul <azul@leap.se>2014-04-29 18:03:44 +0200
commit229b93f58787d86a41cba2a894f04d5c351d7a56 (patch)
tree2481f310ecafd50bd1d31e3d762a27a4bdbd8bc3
parent55fcdd3975baf6f6e167ab5164203ab9a2245186 (diff)
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.