summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/assets/stylesheets/application.css1
-rw-r--r--lib/redmine/helpers/gantt.rb9
2 files changed, 8 insertions, 2 deletions
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index abb5e1b2b..409ea2e21 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -328,6 +328,7 @@ tr.entry.file td.filename_no_report a { margin-left: 16px; }
tr span.expander, .gantt_subjects div > span.expander {background-position: 2px 50%; padding-left: 8px; margin-left: 0; cursor: pointer;}
.gantt_subjects div > span.expander {padding-left: 12px;}
.gantt_subjects div > span .icon-gravatar {float: none;}
+.gantt_subjects svg {margin-left: 4px; margin-right: 4px;}
tr.changeset { height: 20px }
tr.changeset ul, ol { margin-top: 0px; margin-bottom: 0px; }
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb
index ad676ec6f..c2fc285a7 100644
--- a/lib/redmine/helpers/gantt.rb
+++ b/lib/redmine/helpers/gantt.rb
@@ -726,6 +726,7 @@ module Redmine
css_classes << ' over-end-date' if progress_date > self.date_to
end
s = (+"").html_safe
+ s << view.sprite_icon('issue').html_safe
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[]',
@@ -745,14 +746,18 @@ module Redmine
html_class << ' behind-start-date' if progress_date < self.date_from
html_class << ' over-end-date' if progress_date > self.date_to
end
- s = view.link_to_version(version).html_safe
+ s = (+"").html_safe
+ s << view.sprite_icon('package').html_safe
+ s << view.link_to_version(version).html_safe
view.content_tag(:span, s, :class => html_class).html_safe
when Project
project = object
html_class = +""
html_class << 'icon icon-projects '
html_class << (project.overdue? ? 'project-overdue' : '')
- s = view.link_to_project(project).html_safe
+ s = (+"").html_safe
+ s << view.sprite_icon('projects').html_safe
+ s << view.link_to_project(project).html_safe
view.content_tag(:span, s, :class => html_class).html_safe
end
end