add message views for unfeasible and not selected bugets investments

This commit is contained in:
Julian Herrero
2018-04-30 13:46:05 +07:00
parent 26f72e437b
commit b7a16c3917

View File

@@ -137,6 +137,15 @@
<span class="icon-budget"></span>
</div>
<br>
<% if investment.unfeasible? %>
<div class="callout warning">
<%= t("budgets.investments.show.project_unfeasible_html") %>
</div>
<% elsif !investment.selected? %>
<div class="callout warning">
<%= t("budgets.investments.show.project_not_selected_html") %>
</div>
<% end %>
<% end %>
<% if investment.should_show_price? %>
<div class="sidebar-divider"></div>