Avoids show duplicated budget investment price
This commit is contained in:
@@ -146,15 +146,15 @@
|
||||
<%= t("budgets.investments.show.project_not_selected_html") %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if investment.should_show_price? %>
|
||||
<div class="sidebar-divider"></div>
|
||||
<h2><%= t("budgets.investments.show.price") %></h2>
|
||||
<div class="supports text-center">
|
||||
<p class="investment-project-amount">
|
||||
<%= investment.formatted_price %>
|
||||
</p>
|
||||
</div>
|
||||
<% if investment.should_show_price? %>
|
||||
<div class="sidebar-divider"></div>
|
||||
<h2><%= t("budgets.investments.show.price") %></h2>
|
||||
<div class="supports text-center">
|
||||
<p class="investment-project-amount">
|
||||
<%= investment.formatted_price %>
|
||||
</p>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<%= render partial: 'shared/social_share', locals: {
|
||||
share_title: t("budgets.investments.show.share"),
|
||||
|
||||
Reference in New Issue
Block a user