Added investment's user generated tags to admin show and sort to the valuation tags

This commit is contained in:
Manuel Ortega
2017-10-17 14:37:27 +02:00
parent c8568d16aa
commit 10d7a1d89b
2 changed files with 6 additions and 1 deletions

View File

@@ -56,3 +56,8 @@
<% end %>
<%= safe_html_with_links @investment.description %>
<p id="user-tags">
<strong><%= t("admin.budget_investments.show.tags") %> del usuario:</strong>
<%= @investment.tag_list.sort.join(', ') %>
</p>

View File

@@ -19,7 +19,7 @@
<p id="tags">
<strong><%= t("admin.budget_investments.show.tags") %>:</strong>
<%= @investment.tags_on(:valuation).pluck(:name).join(', ') %>
<%= @investment.tags_on(:valuation).pluck(:name).sort.join(', ') %>
</p>
<p id="assigned_valuators">