mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +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',
|
content_tag('div',
|
||||||
link_to('', options[:edit_section_links].merge(:section => @current_section),
|
link_to('', options[:edit_section_links].merge(:section => @current_section),
|
||||||
:class => 'icon-only icon-edit'),
|
:class => 'icon-only icon-edit'),
|
||||||
:class => 'contextual',
|
:class => "contextual heading-#{$2}",
|
||||||
:title => l(:button_edit_section),
|
:title => l(:button_edit_section),
|
||||||
:id => "section-#{@current_section}") + heading.html_safe
|
:id => "section-#{@current_section}") + heading.html_safe
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user