diff --git a/app/models/budget/investment.rb b/app/models/budget/investment.rb index 4e2e5d0b0..b2cc8cba5 100644 --- a/app/models/budget/investment.rb +++ b/app/models/budget/investment.rb @@ -245,7 +245,7 @@ class Budget (budget.reviewing_ballots? || budget.finished?) end - def should_show_price_info? + def should_show_price_explanation? feasible? && price_explanation.present? && (budget.balloting? || budget.reviewing_ballots? || budget.finished?) diff --git a/app/views/budgets/investments/_investment_show.html.erb b/app/views/budgets/investments/_investment_show.html.erb index 946952bd9..3b0078bf8 100644 --- a/app/views/budgets/investments/_investment_show.html.erb +++ b/app/views/budgets/investments/_investment_show.html.erb @@ -71,7 +71,7 @@
<%= investment.unfeasibility_explanation %>
<% end %> - <% if investment.should_show_price_info? %> + <% if investment.should_show_price_explanation? %><%= investment.price_explanation %>
<% end %>