Use display: block; for activity item descriptions.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1441 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
03308028c9
commit
e5bc1d370a
|
@ -8,9 +8,7 @@
|
||||||
<% @events_by_day[day].sort {|x,y| y.event_datetime <=> x.event_datetime }.each do |e| -%>
|
<% @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>
|
<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>
|
<%= 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? -%>
|
<dd><span class="description"><%= format_activity_description(e.event_description) %></span>
|
||||||
<span class="description"><%= format_activity_description(e.event_description) %></span><br />
|
|
||||||
<% end %>
|
|
||||||
<span class="author"><%= e.event_author if e.respond_to?(:event_author) %></span></dd>
|
<span class="author"><%= e.event_author if e.respond_to?(:event_author) %></span></dd>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
|
@ -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 dd .description, #search-results dd .description { font-style: italic; }
|
||||||
div#activity span.project:after, #search-results span.project:after { content: " -"; }
|
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 { 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 { background-image: url(../images/ticket.png); }
|
||||||
dt.issue-edit { background-image: url(../images/ticket_edit.png); }
|
dt.issue-edit { background-image: url(../images/ticket_edit.png); }
|
||||||
|
|
Loading…
Reference in New Issue