diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-24 12:29:49 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-24 12:29:49 +0000 |
commit | 42e5e6146d0de67e2e8af5d7a6cbf7fedd9e41c3 (patch) | |
tree | def9c0a6a78eb935383c0c1d9a99d450d6006806 | |
parent | cc43ae099ac6dfa3219ca5eecb6ce3111f1a016e (diff) | |
download | redmine-42e5e6146d0de67e2e8af5d7a6cbf7fedd9e41c3.tar.gz redmine-42e5e6146d0de67e2e8af5d7a6cbf7fedd9e41c3.zip |
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
-rw-r--r-- | app/helpers/issues_helper.rb | 2 | ||||
-rw-r--r-- | app/views/issues/_relations.html.erb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 9760a8ebb..47f972552 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -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')), diff --git a/app/views/issues/_relations.html.erb b/app/views/issues/_relations.html.erb index 58b5bde3e..fcb1759ef 100644 --- a/app/views/issues/_relations.html.erb +++ b/app/views/issues/_relations.html.erb @@ -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> |