Project

General

Profile

Defect #23575 » do-not-truncate-activity-subject.patch

Marius BĂLTEANU, 2016-08-20 17:12

View differences:

app/views/activities/index.html.erb
10 10
  <%= avatar(e.event_author, :size => "24") if e.respond_to?(:event_author) %>
11 11
  <span class="time"><%= format_time(e.event_datetime, false) %></span>
12 12
  <%= content_tag('span', e.project, :class => 'project') if @project.nil? || @project != e.project %>
13
  <%= link_to format_activity_title(e.event_title), e.event_url %>
13
  <%= link_to e.event_title, e.event_url %>
14 14
  </dt>
15 15
  <dd class="<%= "grouped" if in_group %>"><span class="description"><%= format_activity_description(e.event_description) %></span>
16 16
  <span class="author"><%= link_to_user(e.event_author) if e.respond_to?(:event_author) %></span></dd>
public/stylesheets/application.css
445 445
div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
446 446
div#activity dt.grouped {margin-left:5em;}
447 447
div#activity dd.grouped {margin-left:9em;}
448
div#activity dt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; height: 18px;}
448 449

  
449 450
#search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
450 451

  
(2-2/4)