Wrapped the last link under the same if clause.

This commit is contained in:
Pedro Ríos Flores
2017-10-09 13:09:09 +02:00
parent 693030ff17
commit 87d4fa92b4

View File

@@ -60,6 +60,14 @@
<%= t("management.menu.support_budget_investments") %>
<% end %>
</li>
<li <%= "class=active" if (controller_name == "budget_investments" && action_name == "print") ||
(controller_name == "budgets" && action_name == "print_investments") %>>
<%= link_to print_investments_management_budgets_path do %>
<span class="icon-print"></span>
<%= t("management.menu.print_budget_investments") %>
<% end %>
</li>
<% end %>
<li <%= "class=active" if controller_name == "proposals" && action_name == "print" %>>
@@ -76,17 +84,6 @@
<% end %>
</li>
<% if Setting['feature.budgets'] %>
<li <%= "class=active" if (controller_name == "budget_investments" && action_name == "print") ||
(controller_name == "budgets" && action_name == "print_investments") %>>
<%= link_to print_investments_management_budgets_path do %>
<span class="icon-print"></span>
<%= t("management.menu.print_budget_investments") %>
<% end %>
</li>
<% end %>
<li>
<%= link_to new_management_user_invite_path do %>
<span class="icon-letter"></span>