64 lines
2.0 KiB
Plaintext
64 lines
2.0 KiB
Plaintext
<ul id="admin_menu" data-accordion-menu>
|
|
<li class="section-title">
|
|
<a href="#" class="users-link"><%= t("management.menu.users") %></a>
|
|
<%= link_list(
|
|
[
|
|
t("management.menu.select_user"),
|
|
management_document_verifications_path,
|
|
menu_users?
|
|
],
|
|
(
|
|
[
|
|
t("management.account.menu.reset_password_email"),
|
|
edit_password_email_management_account_path,
|
|
menu_edit_password_email?
|
|
] if managed_user.email
|
|
),
|
|
[
|
|
t("management.account.menu.reset_password_manually"),
|
|
edit_password_manually_management_account_path,
|
|
menu_edit_password_manually?
|
|
],
|
|
[
|
|
t("management.menu.create_proposal"),
|
|
new_management_proposal_path,
|
|
menu_create_proposal?
|
|
],
|
|
[
|
|
t("management.menu.support_proposals"),
|
|
management_proposals_path,
|
|
menu_support_proposal?
|
|
],
|
|
(
|
|
[
|
|
t("management.menu.create_budget_investment"),
|
|
create_investments_management_budgets_path,
|
|
menu_create_investments?
|
|
] if Setting["process.budgets"]
|
|
),
|
|
(
|
|
[
|
|
t("management.menu.support_budget_investments"),
|
|
support_investments_management_budgets_path,
|
|
menu_support_investments?
|
|
] if Setting["process.budgets"]
|
|
),
|
|
class: "is-active"
|
|
) %>
|
|
</li>
|
|
|
|
<% if Setting["process.budgets"] %>
|
|
<li <%= "class=is-active" if menu_print_investments? %>>
|
|
<%= link_to t("management.menu.print_budget_investments"), print_investments_management_budgets_path, class: "print-investments-link" %>
|
|
</li>
|
|
<% end %>
|
|
|
|
<li <%= "class=is-active" if menu_print_proposals? %>>
|
|
<%= link_to t("management.menu.print_proposals"), print_management_proposals_path, class: "print-proposals-link" %>
|
|
</li>
|
|
|
|
<li <%= "class=is-active" if menu_user_invites? %>>
|
|
<%= link_to t("management.menu.user_invites"), new_management_user_invite_path, class: "invitations-link" %>
|
|
</li>
|
|
</ul>
|