]> source.dussan.org Git - redmine.git/commitdiff
Do not truncate subissue/related issues titles on the issue view (#18659).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 24 Dec 2014 12:29:49 +0000 (12:29 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 24 Dec 2014 12:29:49 +0000 (12:29 +0000)
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13796 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/issues_helper.rb
app/views/issues/_relations.html.erb

index 9760a8ebbc4c70414764dcf76dd8835c41714c24..47f97255273806bc4d6558f666382838815cb9b5 100644 (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')),
index 58b5bde3efeb1078b129afc5edddd49a22ddcc52..fcb1759ef2d9ae26d9528b11aa1548aef9c1eb5c 100644 (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>