]> source.dussan.org Git - redmine.git/commitdiff
Use display: block; for activity item descriptions.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 20 May 2008 20:49:06 +0000 (20:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 20 May 2008 20:49:06 +0000 (20:49 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1441 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/activity.rhtml
public/stylesheets/application.css

index c2f2f9ebd2834c6b54771913f7880dbc8dbd5916..d4b47f7be311d6182ce5c7205c36d55a4d93b98a 100644 (file)
@@ -8,9 +8,7 @@
 <% @events_by_day[day].sort {|x,y| y.event_datetime <=> x.event_datetime }.each do |e| -%>
   <dt class="<%= e.event_type %>"><span class="time"><%= format_time(e.event_datetime, false) %></span>
   <%= content_tag('span', h(e.project), :class => 'project') if @project.nil? || @project != e.project %> <%= link_to h(truncate(e.event_title, 100)), e.event_url %></dt>
-  <dd><% unless e.event_description.blank? -%>
-  <span class="description"><%= format_activity_description(e.event_description) %></span><br />
-  <% end %>
+  <dd><span class="description"><%= format_activity_description(e.event_description) %></span>
   <span class="author"><%= e.event_author if e.respond_to?(:event_author) %></span></dd>
 <% end -%>
 </dl>
index 2467fd3cff58f5c7b1e4eb2215449b33c38e2e7a..e5bb4a7abf50113f80b2a3096cfaf4094b42c20e 100644 (file)
@@ -179,7 +179,7 @@ div#activity dt .time { color: #777; font-size: 80%; }
 div#activity dd .description, #search-results dd .description { font-style: italic; }
 div#activity span.project:after, #search-results span.project:after { content: " -"; }
 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px;}
-#search-results dd span.description { display:block; }
+div#activity dd span.description, #search-results dd span.description { display:block; }
 
 dt.issue { background-image: url(../images/ticket.png); }
 dt.issue-edit { background-image: url(../images/ticket_edit.png); }