From e5bc1d370a12aba5273d32ee8bf45f39aaa916cc Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 20 May 2008 20:49:06 +0000 Subject: [PATCH] Use display: block; for activity item descriptions. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1441 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/activity.rhtml | 4 +--- public/stylesheets/application.css | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/projects/activity.rhtml b/app/views/projects/activity.rhtml index c2f2f9ebd..d4b47f7be 100644 --- a/app/views/projects/activity.rhtml +++ b/app/views/projects/activity.rhtml @@ -8,9 +8,7 @@ <% @events_by_day[day].sort {|x,y| y.event_datetime <=> x.event_datetime }.each do |e| -%>
<%= format_time(e.event_datetime, false) %> <%= 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 %>
-
<% unless e.event_description.blank? -%> - <%= format_activity_description(e.event_description) %>
- <% end %> +
<%= format_activity_description(e.event_description) %> <%= e.event_author if e.respond_to?(:event_author) %>
<% end -%> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 2467fd3cf..e5bb4a7ab 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -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); }