mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 05:16:32 +02:00
Use the regular "icon icon-*" classes for sort-handle (#31433).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18203 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -595,7 +595,7 @@ module ApplicationHelper
|
||||
:reorder_param => options[:param] || object.class.name.underscore
|
||||
}
|
||||
content_tag('span', '',
|
||||
:class => "sort-handle",
|
||||
:class => "icon-only icon-sort-handle sort-handle",
|
||||
:data => data,
|
||||
:title => l(:button_sort))
|
||||
end
|
||||
|
||||
@@ -34,10 +34,10 @@ module MyHelper
|
||||
def render_block(block, user)
|
||||
content = render_block_content(block, user)
|
||||
if content.present?
|
||||
handle = content_tag('span', '', :class => 'sort-handle', :title => l(:button_move))
|
||||
handle = content_tag('span', '', :class => 'icon-only icon-sort-handle sort-handle', :title => l(:button_move))
|
||||
close = link_to(l(:button_delete),
|
||||
{:action => "remove_block", :block => block},
|
||||
:remote => true, :method => 'post',
|
||||
:remote => true, :method => 'post',
|
||||
:class => "icon-only icon-close", :title => l(:button_delete))
|
||||
content = content_tag('div', handle + close, :class => 'contextual') + content
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<ul id="custom_field_enumerations" class="flat">
|
||||
<% @custom_field.enumerations.each_with_index do |value, position| %>
|
||||
<li>
|
||||
<span class="sort-handle"></span>
|
||||
<span class="icon-only icon-sort-handle sort-handle"></span>
|
||||
<%= hidden_field_tag "custom_field_enumerations[#{value.id}][position]", position, :class => 'position' %>
|
||||
<%= text_field_tag "custom_field_enumerations[#{value.id}][name]", value.name, :size => 40 %>
|
||||
<%= hidden_field_tag "custom_field_enumerations[#{value.id}][active]", 0 %>
|
||||
|
||||
Reference in New Issue
Block a user