diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-17 18:21:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-17 18:21:02 +0000 |
commit | dfabadf4f7e00d5769f96eb2d6944c7ed7c6e410 (patch) | |
tree | 49d01d51e6501b8c1803f23dc0ae8e948e47c8bf /app/views/layouts | |
parent | 39b44b1cb94f68514bf9ce7ae76ee7228bf6ce07 (diff) | |
download | redmine-dfabadf4f7e00d5769f96eb2d6944c7ed7c6e410.tar.gz redmine-dfabadf4f7e00d5769f96eb2d6944c7ed7c6e410.zip |
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
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/admin.rhtml | 8 |
1 files changed, 8 insertions, 0 deletions
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 %> + <h3><%=l(:label_administration)%></h3> + <%= render :partial => 'admin/menu' %> + <% end %> +<% end %> + +<%= render :file => "layouts/base" %> |