0002-Add-issue-css_classes-to-issue-rows.patch

Marius BALTEANU, 2019-05-21 18:14

Download (1.8 KB)

View differences:

app/views/versions/index.html.erb
28 28
        <table class="list related-issues">
29 29
        <caption><%= l(:label_related_issues) %></caption>
30 30
        <% issues.each do |issue| -%>
31
          <tr class="issue hascontextmenu">
31
          <tr class="hascontextmenu <%= issue.css_classes %>">
32 32
            <td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td>
33 33
            <td class="assigned_to"><%= assignee_avatar(issue.assigned_to, :size => 16) %></td>
34 34
            <td class="subject"><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
app/views/versions/show.html.erb
42 42
  <table class="list related-issues">
43 43
  <caption><%= l(:label_related_issues) %></caption>
44 44
  <%- @issues.each do |issue| -%>
45
    <tr class="issue hascontextmenu">
45
    <tr class="hascontextmenu <%= issue.css_classes %>">
46 46
      <td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td>
47 47
      <td class="assigned_to"><%= assignee_avatar(issue.assigned_to, :size => 16) %></td>
48 48
      <td class="subject"><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
49
-