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:
Jean-Philippe Lang
2016-01-30 15:41:19 +00:00
parent 4cae62d8e8
commit e8201c0d7e

View File

@@ -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