diff --git a/app/views/experts/_list.html.erb b/app/views/experts/_list.html.erb index 6c3d63d..7e88b47 100644 --- a/app/views/experts/_list.html.erb +++ b/app/views/experts/_list.html.erb @@ -23,10 +23,10 @@ <%= image_tag expert.avatar, height: 20 %> <% end %> - <%= link_to expert.name, expert %> + <%= link_to expert.name, edit_expert_path(expert) %> <%= expert.description %> - <%= link_to raw(' Edycja'), edit_expert_path(expert), class: 'btn-sm btn-info' %> + <%= link_to raw(' Pokaż'), expert, class: 'btn-sm btn-info' %> <%= link_to raw(' Usuń'), expert, class: 'btn-sm btn-danger', method: :delete, data: { confirm: 'Czy na pewno?' } %> diff --git a/app/views/grants/_form.html.erb b/app/views/grants/_form.html.erb index 288db13..57af479 100644 --- a/app/views/grants/_form.html.erb +++ b/app/views/grants/_form.html.erb @@ -110,6 +110,7 @@ +
diff --git a/app/views/grants/_list.html.erb b/app/views/grants/_list.html.erb index c173a78..503fe56 100644 --- a/app/views/grants/_list.html.erb +++ b/app/views/grants/_list.html.erb @@ -25,7 +25,7 @@ <% @dotations.each do |dotation| %> - <%= link_to dotation.name, grant_path(dotation) %> + <%= link_to dotation.name, edit_grant_path(dotation) %> <%= dotation.formal_name %> <%= dotation.points %> <%= dotation.date_from %> @@ -34,7 +34,7 @@ <%= render 'activate', dotation: dotation %> - <%= link_to raw(' Edycja'), edit_grant_path(dotation), class: 'btn-sm btn-info' %> + <%= link_to raw(' Pokaż'), edit_grant_path(dotation), class: 'btn-sm btn-info' %> <%= link_to raw(' Usuń'), grant_path(dotation), class: 'btn-sm btn-danger', method: :delete, data: { confirm: 'Czy na pewno?' } %> diff --git a/app/views/partners/_list.html.erb b/app/views/partners/_list.html.erb index 6705f5e..c7eac20 100644 --- a/app/views/partners/_list.html.erb +++ b/app/views/partners/_list.html.erb @@ -23,10 +23,10 @@ <%= image_tag partner.logo, height: 20 %> <% end %> - <%= link_to partner.name, partner %> + <%= link_to partner.name, edit_partner_path(partner) %> <%= partner.description %> - <%= link_to raw(' Edycja'), edit_partner_path(partner), class: 'btn-sm btn-info' %> + <%= link_to raw(' Pokaż'), partner, class: 'btn-sm btn-info' %> <%= link_to raw(' Usuń'), partner, class: 'btn-sm btn-danger', method: :delete, data: { confirm: 'Czy na pewno?' } %> diff --git a/config/locales/pl/models/dotation.yml b/config/locales/pl/models/dotation.yml index 0db6f95..67025e9 100644 --- a/config/locales/pl/models/dotation.yml +++ b/config/locales/pl/models/dotation.yml @@ -39,6 +39,7 @@ pl: start_date_always: Nabór w trybie ciągłym end_date_always: Nabór w trybie ciągłym ann_date_always: Nabór w trybie ciągłym + expenses: Wydatki tags: Tagi full_descr: Pełny opis dotacji positioning_text: Tekst pozycjonujący