Adds a project specific css class to body (#14767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12170 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
2012e635b0
commit
481a1311b7
2 files changed
+6
No files matched your search
@@ -488,6 +488,7 @@ module ApplicationHelper
|
||||
css << 'theme-' + theme.name
|
||||
end
|
||||
|
||||
css << 'project-' + @project.identifier if @project && @project.identifier.present?
|
||||
css << 'controller-' + controller_name
|
||||
css << 'action-' + action_name
|
||||
css.join(' ')
|
||||
|
||||
Reference in new issue
Block a user