Show unfeasible budget investment messages only when valuation finished

This commit is contained in:
decabeza
2019-03-06 10:07:11 +01:00
parent cce852d303
commit 55a2bcb559
2 changed files with 20 additions and 5 deletions

View File

@@ -146,7 +146,7 @@
<% end %>
<% end %>
<% if investment.unfeasible? %>
<% if investment.unfeasible? && investment.valuation_finished? %>
<div class="callout warning">
<%= t("budgets.investments.show.project_unfeasible_html") %>
</div>