From e371bcad24aa64f0a5a3bcc22ad50794d60d44c1 Mon Sep 17 00:00:00 2001 From: Romano Licker Date: Fri, 7 Oct 2011 17:09:45 +0200 Subject: [PATCH] [#692] fixes admin-menu new design on ticket view filter / options / attachments fieldset redesign --- app/controllers/admin_controller.rb | 4 +++ .../ldap_auth_sources_controller.rb | 1 + app/views/issues/_edit.rhtml | 2 +- app/views/issues/index.rhtml | 4 +-- app/views/issues/show.rhtml | 4 +-- app/views/layouts/admin.rhtml | 2 +- app/views/layouts/base.rhtml | 33 +++++++++---------- public/stylesheets/application.css | 9 +---- 8 files changed, 28 insertions(+), 31 deletions(-) diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 4b0d4ff4..ab3e0d48 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -19,6 +19,10 @@ class AdminController < ApplicationController include SortHelper + menu_item :projects, :only => [:projects] + menu_item :plugins, :only => [:plugins] + menu_item :info, :only => [:info] + def index @no_configuration_data = Redmine::DefaultData::Loader::no_data? end diff --git a/app/controllers/ldap_auth_sources_controller.rb b/app/controllers/ldap_auth_sources_controller.rb index 33c7a297..a637b4d2 100644 --- a/app/controllers/ldap_auth_sources_controller.rb +++ b/app/controllers/ldap_auth_sources_controller.rb @@ -14,6 +14,7 @@ class LdapAuthSourcesController < AuthSourcesController + menu_item :ldap_authentication, :only => [:index] protected def auth_source_class diff --git a/app/views/issues/_edit.rhtml b/app/views/issues/_edit.rhtml index d376b36a..04072a66 100644 --- a/app/views/issues/_edit.rhtml +++ b/app/views/issues/_edit.rhtml @@ -38,7 +38,7 @@ <%= call_hook(:view_issues_edit_notes_bottom, { :issue => @issue, :notes => @notes, :form => f }) %> -