Browse Source

Don't truncate activity titles (#23575).

git-svn-id: http://svn.redmine.org/redmine/trunk@15858 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.4.0
Jean-Philippe Lang 7 years ago
parent
commit
8175afd58d
2 changed files with 3 additions and 1 deletions
  1. 2
    1
      app/helpers/application_helper.rb
  2. 1
    0
      public/stylesheets/application.css

+ 2
- 1
app/helpers/application_helper.rb View File

@@ -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)

+ 1
- 0
public/stylesheets/application.css View File

@@ -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; }


Loading…
Cancel
Save