show price on index/show if feasible && selected
This commit is contained in:
@@ -73,6 +73,13 @@
|
||||
ballot: ballot
|
||||
} %>
|
||||
</div>
|
||||
<% elsif investment.should_show_price? %>
|
||||
<div id="<%= dom_id(investment) %>_price"
|
||||
class="supports small-12 medium-3 column text-center">
|
||||
<p class="investment-project-amount margin-top">
|
||||
<%= investment.formatted_price %>
|
||||
</p>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<% end %>
|
||||
|
||||
@@ -98,6 +98,15 @@
|
||||
</div>
|
||||
<br>
|
||||
<% 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>
|
||||
<% end %>
|
||||
<div id="social-share" class="sidebar-divider"></div>
|
||||
<h2><%= t("budgets.investments.show.share") %></h2>
|
||||
<div class="social-share-full">
|
||||
|
||||
Reference in New Issue
Block a user