18659.patch

Felix Schäfer, 2014-12-21 22:39

Download (1.78 KB)

View differences:

app/helpers/issues_helper.rb
84 84
      css << " idnt idnt-#{level}" if level > 0
85 85
      s << content_tag('tr',
86 86
             content_tag('td', check_box_tag("ids[]", child.id, false, :id => nil), :class => 'checkbox') +
87
             content_tag('td', link_to_issue(child, :truncate => 60, :project => (issue.project_id != child.project_id)), :class => 'subject') +
87
             content_tag('td', link_to_issue(child, :project => (issue.project_id != child.project_id)), :class => 'subject', :style => 'width: 50%') +
88 88
             content_tag('td', h(child.status)) +
89 89
             content_tag('td', link_to_user(child.assigned_to)) +
90 90
             content_tag('td', progress_bar(child.done_ratio, :width => '80px')),
app/views/issues/_relations.html.erb
13 13
  <% other_issue = relation.other_issue(@issue) -%>
14 14
  <tr class="issue hascontextmenu" id="relation-<%= relation.id %>">
15 15
  <td class="checkbox"><%= check_box_tag("ids[]", other_issue.id, false, :id => nil) %></td>
16
  <td class="subject">
17
    <%= relation.to_s(@issue) {|other| link_to_issue(other, :truncate => 60, :project => Setting.cross_project_issue_relations?)}.html_safe %>
16
  <td class="subject" style="width: 50%">
17
    <%= relation.to_s(@issue) {|other| link_to_issue(other, :project => Setting.cross_project_issue_relations?)}.html_safe %>
18 18
  </td>
19 19
  <td class="status"><%=h other_issue.status.name %></td>
20 20
  <td class="start_date"><%= format_date(other_issue.start_date) %></td>