mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-29 20:21:11 +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:
parent
cc43ae099a
commit
42e5e6146d
@ -84,7 +84,7 @@ module IssuesHelper
|
|||||||
css << " idnt idnt-#{level}" if level > 0
|
css << " idnt idnt-#{level}" if level > 0
|
||||||
s << content_tag('tr',
|
s << content_tag('tr',
|
||||||
content_tag('td', check_box_tag("ids[]", child.id, false, :id => nil), :class => 'checkbox') +
|
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', h(child.status)) +
|
||||||
content_tag('td', link_to_user(child.assigned_to)) +
|
content_tag('td', link_to_user(child.assigned_to)) +
|
||||||
content_tag('td', progress_bar(child.done_ratio, :width => '80px')),
|
content_tag('td', progress_bar(child.done_ratio, :width => '80px')),
|
||||||
|
|||||||
@ -13,8 +13,8 @@
|
|||||||
<% other_issue = relation.other_issue(@issue) -%>
|
<% other_issue = relation.other_issue(@issue) -%>
|
||||||
<tr class="issue hascontextmenu" id="relation-<%= relation.id %>">
|
<tr class="issue hascontextmenu" id="relation-<%= relation.id %>">
|
||||||
<td class="checkbox"><%= check_box_tag("ids[]", other_issue.id, false, :id => nil) %></td>
|
<td class="checkbox"><%= check_box_tag("ids[]", other_issue.id, false, :id => nil) %></td>
|
||||||
<td class="subject">
|
<td class="subject" style="width: 50%">
|
||||||
<%= relation.to_s(@issue) {|other| link_to_issue(other, :truncate => 60, :project => Setting.cross_project_issue_relations?)}.html_safe %>
|
<%= relation.to_s(@issue) {|other| link_to_issue(other, :project => Setting.cross_project_issue_relations?)}.html_safe %>
|
||||||
</td>
|
</td>
|
||||||
<td class="status"><%=h other_issue.status.name %></td>
|
<td class="status"><%=h other_issue.status.name %></td>
|
||||||
<td class="start_date"><%= format_date(other_issue.start_date) %></td>
|
<td class="start_date"><%= format_date(other_issue.start_date) %></td>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user