diff --git a/app/helpers/home_helper.rb b/app/helpers/home_helper.rb index a35b022..51397e0 100644 --- a/app/helpers/home_helper.rb +++ b/app/helpers/home_helper.rb @@ -8,7 +8,7 @@ module HomeHelper ret = if ammount >= 1_000_000 "#{ammount / 1_000_000} mln" else - "#{ammount / 1_000} tyś" + "#{ammount / 1_000} tys." end ret end @@ -19,7 +19,7 @@ module HomeHelper ret = if ammount >= 1_000_000 "#{ammount / 1_000_000} mln" else - "#{ammount / 1_000} tyś" + "#{ammount / 1_000} tys." end ret end diff --git a/app/views/home/_dotation_card.html.erb b/app/views/home/_dotation_card.html.erb index 5af5724..6e57632 100644 --- a/app/views/home/_dotation_card.html.erb +++ b/app/views/home/_dotation_card.html.erb @@ -44,9 +44,9 @@ <% end %> + <% unless dotation.max_amount.blank? %>
@@ -57,6 +56,7 @@ width: 100%; } +