mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +00: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:
parent
4cae62d8e8
commit
e8201c0d7e
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user