1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-27 19:01:14 +00:00

Do not truncate subissue/related issues titles on the issue view (#18659).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13796 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-12-24 12:29:49 +00:00
parent cc43ae099a
commit 42e5e6146d
2 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ module IssuesHelper
css << " idnt idnt-#{level}" if level > 0
s << content_tag('tr',
content_tag('td', check_box_tag("ids[]", child.id, false, :id => nil), :class => 'checkbox') +
content_tag('td', link_to_issue(child, :truncate => 60, :project => (issue.project_id != child.project_id)), :class => 'subject') +
content_tag('td', link_to_issue(child, :project => (issue.project_id != child.project_id)), :class => 'subject', :style => 'width: 50%') +
content_tag('td', h(child.status)) +
content_tag('td', link_to_user(child.assigned_to)) +
content_tag('td', progress_bar(child.done_ratio, :width => '80px')),

View File

@ -13,8 +13,8 @@
<% other_issue = relation.other_issue(@issue) -%>
<tr class="issue hascontextmenu" id="relation-<%= relation.id %>">
<td class="checkbox"><%= check_box_tag("ids[]", other_issue.id, false, :id => nil) %></td>
<td class="subject">
<%= relation.to_s(@issue) {|other| link_to_issue(other, :truncate => 60, :project => Setting.cross_project_issue_relations?)}.html_safe %>
<td class="subject" style="width: 50%">
<%= relation.to_s(@issue) {|other| link_to_issue(other, :project => Setting.cross_project_issue_relations?)}.html_safe %>
</td>
<td class="status"><%=h other_issue.status.name %></td>
<td class="start_date"><%= format_date(other_issue.start_date) %></td>