removes duplication between admin and valuators spending proposals
This commit is contained in:
@@ -1,46 +0,0 @@
|
||||
<h2><%= t("admin.spending_proposals.show.dossier") %></h2>
|
||||
|
||||
<p id="price">
|
||||
<strong>
|
||||
<%= t("admin.spending_proposals.show.price") %>
|
||||
(<%= t("admin.spending_proposals.show.currency") %>):
|
||||
</strong>
|
||||
<% if @spending_proposal.price.present? %>
|
||||
<%= @spending_proposal.price %>
|
||||
<% else %>
|
||||
<%= t("admin.spending_proposals.show.undefined") %>
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
<p id="price_first_year">
|
||||
<strong>
|
||||
<%= t("admin.spending_proposals.show.price_first_year") %>
|
||||
(<%= t("admin.spending_proposals.show.currency") %>):
|
||||
</strong>
|
||||
|
||||
<% if @spending_proposal.price_first_year.present? %>
|
||||
<%= @spending_proposal.price_first_year %>
|
||||
<% else %>
|
||||
<%= t("admin.spending_proposals.show.undefined") %>
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
<%= explanation_field @spending_proposal.price_explanation %>
|
||||
|
||||
<p id="feasibility">
|
||||
<strong><%= t("admin.spending_proposals.show.feasibility") %>:</strong>
|
||||
<%= t("admin.spending_proposals.show.#{@spending_proposal.feasibility}") %>
|
||||
</p>
|
||||
|
||||
<%= explanation_field @spending_proposal.feasible_explanation %>
|
||||
|
||||
<% if @spending_proposal.valuation_finished %>
|
||||
<p id="valuation">
|
||||
<strong><%= t("admin.spending_proposals.show.valuation_finished") %></strong>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<% if @spending_proposal.internal_comments.present? %>
|
||||
<h2><%= t("admin.spending_proposals.show.internal_comments") %></h2>
|
||||
<%= explanation_field @spending_proposal.internal_comments %>
|
||||
<% end %>
|
||||
@@ -36,4 +36,4 @@
|
||||
<% end %>
|
||||
|
||||
<hr>
|
||||
<%= render 'written_by_valuators' %>
|
||||
<%= render 'valuation/spending_proposals/written_by_valuators' %>
|
||||
@@ -30,4 +30,4 @@
|
||||
|
||||
<hr>
|
||||
|
||||
<%= render 'written_by_valuators' %>
|
||||
<%= render 'valuation/spending_proposals/written_by_valuators' %>
|
||||
Reference in New Issue
Block a user