summaryrefslogtreecommitdiffstats
path: root/lib/redmine
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-10-08 21:19:29 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-10-08 21:19:29 +0000
commita8c9e9124578858963167cd02d99025812b2a8ff (patch)
tree66d9abe980c2dee34a59a361540b7e07eb8143a2 /lib/redmine
parenta43c68b48f4828b8dcc3d2a4ce5a63c3706d027c (diff)
downloadredmine-a8c9e9124578858963167cd02d99025812b2a8ff.tar.gz
redmine-a8c9e9124578858963167cd02d99025812b2a8ff.zip
Fixes gantt collapse/expand buttons are not available after switching to SVG icons (#41447, #23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23104 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r--lib/redmine/helpers/gantt.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb
index 0b5c1b1f1..43e0986c6 100644
--- a/lib/redmine/helpers/gantt.rb
+++ b/lib/redmine/helpers/gantt.rb
@@ -726,7 +726,7 @@ module Redmine
css_classes << ' over-end-date' if progress_date > self.date_to && issue.done_ratio > 0
end
s = (+"").html_safe
- s << view.sprite_icon('issue').html_safe
+ s << view.sprite_icon('issue').html_safe unless Setting.gravatar_enabled? && issue.assigned_to
s << view.assignee_avatar(issue.assigned_to, :size => 13, :class => 'icon-gravatar')
s << view.link_to_issue(issue).html_safe
s << view.content_tag(:input, nil, :type => 'checkbox', :name => 'ids[]',
@@ -792,12 +792,12 @@ module Redmine
}
end
if has_children
- content = view.content_tag(:span, nil, :class => 'icon icon-expanded expander') + content
+ content = view.content_tag(:span, view.sprite_icon('angle-down').html_safe, :class => 'icon icon-expanded expander') + content
tag_options[:class] += ' open'
else
if params[:indent]
params = params.dup
- params[:indent] += 12
+ params[:indent] += 18
end
end
style = "position: absolute;top:#{params[:top]}px;left:#{params[:indent]}px;"