From 64afb03164b86897a6d32762457f052db8a9ee85 Mon Sep 17 00:00:00 2001 From: rgarcia Date: Tue, 13 Oct 2015 14:18:04 +0200 Subject: [PATCH] adds menu items --- app/views/management/_menu.html.erb | 21 +++++++++++++++++++++ config/locales/management.en.yml | 3 +++ config/locales/management.es.yml | 3 +++ 3 files changed, 27 insertions(+) diff --git a/app/views/management/_menu.html.erb b/app/views/management/_menu.html.erb index 6493f8a66..51f7cf35e 100644 --- a/app/views/management/_menu.html.erb +++ b/app/views/management/_menu.html.erb @@ -12,5 +12,26 @@ <%= t("management.menu.users") %> <% end %> + +
  • > + <%= link_to new_management_proposal_path do %> + + <%= t("management.menu.create_proposal") %> + <% end %> +
  • + +
  • > + <%= link_to management_proposals_path do %> + + <%= t("management.menu.support_proposals") %> + <% end %> +
  • + +
  • > + <%= link_to print_management_proposals_path do %> + + <%= t("management.menu.print_proposals") %> + <% end %> +
  • diff --git a/config/locales/management.en.yml b/config/locales/management.en.yml index d3831b9f6..903c8813d 100644 --- a/config/locales/management.en.yml +++ b/config/locales/management.en.yml @@ -9,6 +9,9 @@ en: menu: title: "Management" users: "Users" + create_proposal: "Create proposal" + support_proposals: "Support proposals" + print_proposals: "Print proposals" dashboard: index: title: "Management" diff --git a/config/locales/management.es.yml b/config/locales/management.es.yml index 14516928b..f6a99abda 100644 --- a/config/locales/management.es.yml +++ b/config/locales/management.es.yml @@ -9,6 +9,9 @@ es: menu: title: "Gestión" users: "Usuarios" + create_proposal: "Crear propuesta" + support_proposals: "Apoyar propuestas" + print_proposals: "Imprimir propuestas" dashboard: index: title: "Gestión"