summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-05-22 16:30:27 +0000
committerGo MAEDA <maeda@farend.jp>2019-05-22 16:30:27 +0000
commitd646ec22cfd9b905688be010bf16c429bf31718f (patch)
tree89a16254f73122851445da6cbe7fa14b12ab6c14
parent6dfbc9d4577fe654cae93a287fe312df3181be20 (diff)
downloadredmine-d646ec22cfd9b905688be010bf16c429bf31718f.tar.gz
redmine-d646ec22cfd9b905688be010bf16c429bf31718f.zip
Add issue css_classes to issue rows (#31424).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18191 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/versions/index.html.erb2
-rw-r--r--app/views/versions/show.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb
index ad5d5f425..c0b2f9dbe 100644
--- a/app/views/versions/index.html.erb
+++ b/app/views/versions/index.html.erb
@@ -28,7 +28,7 @@
<table class="list related-issues">
<caption><%= l(:label_related_issues) %></caption>
<% issues.each do |issue| -%>
- <tr class="issue hascontextmenu">
+ <tr class="hascontextmenu <%= issue.css_classes %>">
<td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td>
<td class="assigned_to"><%= assignee_avatar(issue.assigned_to, :size => 16) %></td>
<td class="subject"><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb
index dc43d40b7..e1b27ee0d 100644
--- a/app/views/versions/show.html.erb
+++ b/app/views/versions/show.html.erb
@@ -42,7 +42,7 @@
<table class="list related-issues">
<caption><%= l(:label_related_issues) %></caption>
<%- @issues.each do |issue| -%>
- <tr class="issue hascontextmenu">
+ <tr class="hascontextmenu <%= issue.css_classes %>">
<td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td>
<td class="assigned_to"><%= assignee_avatar(issue.assigned_to, :size => 16) %></td>
<td class="subject"><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>