From 8fdef1f82098258e2d5dda840ce5f4a921726f51 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 18 Mar 2007 10:17:21 +0000 Subject: [PATCH] admin menu modification git-svn-id: http://redmine.rubyforge.org/svn/trunk@342 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/admin/_menu.rhtml | 25 +++++++++++++++++++++++++ app/views/layouts/base.rhtml | 19 +------------------ app/views/projects/show.rhtml | 2 +- lang/de.yml | 1 + lang/en.yml | 1 + lang/es.yml | 1 + lang/fr.yml | 1 + lang/it.yml | 1 + lang/ja.yml | 1 + 9 files changed, 33 insertions(+), 19 deletions(-) create mode 100644 app/views/admin/_menu.rhtml diff --git a/app/views/admin/_menu.rhtml b/app/views/admin/_menu.rhtml new file mode 100644 index 000000000..0b52ce6dc --- /dev/null +++ b/app/views/admin/_menu.rhtml @@ -0,0 +1,25 @@ + + + + diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index 030116c60..91208c77a 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -60,24 +60,7 @@ <% if admin_loggedin? %> - - - - + <%= render :partial => 'admin/menu' %> <% end %> <% unless @project.nil? || @project.id.nil? %> diff --git a/app/views/projects/show.rhtml b/app/views/projects/show.rhtml index 9ecbbb663..8b0501585 100644 --- a/app/views/projects/show.rhtml +++ b/app/views/projects/show.rhtml @@ -20,7 +20,7 @@
<%= render :partial => 'issues/add_shortcut', :locals => {:trackers => @trackers } %>
-

<%=l(:label_tracker_plural)%>

+

<%=l(:label_issue_tracking)%>