summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-05-27 21:19:51 +0000
committerGo MAEDA <maeda@farend.jp>2019-05-27 21:19:51 +0000
commit5b29b2b5d1c19181c9887beba4dee600f4a3aadf (patch)
treeb564401881860ed9ca65b12d4e37755721f350e0 /app
parent069577c1331ccda51966aa9873e12ebcf758a4b7 (diff)
downloadredmine-5b29b2b5d1c19181c9887beba4dee600f4a3aadf.tar.gz
redmine-5b29b2b5d1c19181c9887beba4dee600f4a3aadf.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/helpers/application_helper.rb2
-rw-r--r--app/helpers/my_helper.rb4
-rw-r--r--app/views/custom_field_enumerations/index.html.erb2
3 files changed, 4 insertions, 4 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index afbad6b98..6b4ac3041 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -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
diff --git a/app/helpers/my_helper.rb b/app/helpers/my_helper.rb
index 91b45e677..be6257674 100644
--- a/app/helpers/my_helper.rb
+++ b/app/helpers/my_helper.rb
@@ -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
diff --git a/app/views/custom_field_enumerations/index.html.erb b/app/views/custom_field_enumerations/index.html.erb
index 915cba2ea..66a0977fd 100644
--- a/app/views/custom_field_enumerations/index.html.erb
+++ b/app/views/custom_field_enumerations/index.html.erb
@@ -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 %>