diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-01-16 08:10:33 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-01-16 08:10:33 +0000 |
commit | daff49d5e5bfdb407567870d287bcfec875da791 (patch) | |
tree | e058c3b25c693a938fc7ae9091430d0835c96a4b /app/views/issues | |
parent | 97751b3d8482c295017efaf125ca3db5ddedd36a (diff) | |
download | redmine-daff49d5e5bfdb407567870d287bcfec875da791.tar.gz redmine-daff49d5e5bfdb407567870d287bcfec875da791.zip |
Adding issue css classes to issue subtasks and relations tr (#21474).
Patch by Codruț Gușoi.
git-svn-id: http://svn.redmine.org/redmine/trunk@15061 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/_relations.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_relations.html.erb b/app/views/issues/_relations.html.erb index d3e7f4d0b..bfbd1f28c 100644 --- a/app/views/issues/_relations.html.erb +++ b/app/views/issues/_relations.html.erb @@ -11,7 +11,7 @@ <table class="list issues"> <% @relations.each do |relation| %> <% other_issue = relation.other_issue(@issue) -%> - <tr class="issue hascontextmenu" id="relation-<%= relation.id %>"> + <tr class="issue hascontextmenu <%= other_issue.css_classes %>" id="relation-<%= relation.id %>"> <td class="checkbox"><%= check_box_tag("ids[]", other_issue.id, false, :id => nil) %></td> <td class="subject" style="width: 50%"> <%= relation.to_s(@issue) {|other| link_to_issue(other, :project => Setting.cross_project_issue_relations?)}.html_safe %> |