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? %>
- <% unless dotation.max_amount.blank? %>
Wartość projektu
@@ -55,9 +55,9 @@
do <%= change_ammount(dotation.max_amount) %> <%= dotation.max_amount_curr.name %>
- <% end %>
+ <% end %>
<% unless dotation.expenses.blank? %> diff --git a/app/views/home/contact.html.erb b/app/views/home/contact.html.erb index 04829fc..1439157 100644 --- a/app/views/home/contact.html.erb +++ b/app/views/home/contact.html.erb @@ -27,7 +27,6 @@
-

Deep Tech Institute

@@ -57,6 +56,7 @@ width: 100%; } +