From 8175afd58d928c24ee7831f813b9556910a89bd9 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 1 Oct 2016 11:05:21 +0000 Subject: [PATCH] Don't truncate activity titles (#23575). git-svn-id: http://svn.redmine.org/redmine/trunk@15858 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 3 ++- public/stylesheets/application.css | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 4a421b1b8..d257894dd 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -230,8 +230,9 @@ module ApplicationHelper link_to(name, "#", :onclick => onclick) end + # Used to format item titles on the activity view def format_activity_title(text) - h(truncate_single_line_raw(text, 100)) + text end def format_activity_day(date) diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 1f47dd42d..8441df9cc 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -447,6 +447,7 @@ div#activity span.project:after, #search-results span.project:after { content: " div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; } div#activity dt.grouped {margin-left:5em;} div#activity dd.grouped {margin-left:9em;} +div#activity dt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; height: 18px;} #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; } -- 2.39.5