adds link and move to top sidebar message

This commit is contained in:
decabeza
2017-05-11 17:24:05 +02:00
parent ebdb265388
commit 36078ab604
3 changed files with 12 additions and 6 deletions

View File

@@ -13,6 +13,14 @@
<% end %>
<% end %>
<% if @heading && can?(:show, @ballot) %>
<p class="callout">
<%= t("budgets.investments.index.sidebar.voted_info",
link: link_to(t("budgets.investments.index.sidebar.voted_info_link"),
budget_ballot_path(@budget))).html_safe %>
</p>
<% end %>
<%= render "shared/tag_cloud", taggable: 'budget/investment' %>
<%= render 'budgets/investments/categories' %>
@@ -45,8 +53,4 @@
<% end %>
<% end %>
</ul>
<p class="callout primary">
<%= t("budgets.investments.index.sidebar.voted_info") %>
</p>
<% end %>