From dfabadf4f7e00d5769f96eb2d6944c7ed7c6e410 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 17 Dec 2009 18:21:02 +0000 Subject: Adds an admin layout that displays the admin menu in the sidebar. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3176 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/layouts/admin.rhtml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/views/layouts/admin.rhtml (limited to 'app/views/layouts/admin.rhtml') diff --git a/app/views/layouts/admin.rhtml b/app/views/layouts/admin.rhtml new file mode 100644 index 000000000..197c32a84 --- /dev/null +++ b/app/views/layouts/admin.rhtml @@ -0,0 +1,8 @@ +<% unless controller_name == 'admin' && action_name == 'index' %> + <% content_for :sidebar do %> +

<%=l(:label_administration)%>

+ <%= render :partial => 'admin/menu' %> + <% end %> +<% end %> + +<%= render :file => "layouts/base" %> -- cgit v1.2.3