mirror of
https://github.com/redmine/redmine.git
synced 2025-11-04 20:35:57 +01:00
Add class to contextual edit button that relates to heading on wiki pages ().
Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@15136 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -889,7 +889,7 @@ module ApplicationHelper
|
||||
content_tag('div',
|
||||
link_to('', options[:edit_section_links].merge(:section => @current_section),
|
||||
:class => 'icon-only icon-edit'),
|
||||
:class => 'contextual',
|
||||
:class => "contextual heading-#{$2}",
|
||||
:title => l(:button_edit_section),
|
||||
:id => "section-#{@current_section}") + heading.html_safe
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user