@@ -6,7 +6,8 | |||||
6 | <h3><%= format_activity_day(day) %></h3> |
|
6 | <h3><%= format_activity_day(day) %></h3> | |
7 | <dl> |
|
7 | <dl> | |
8 | <% @events_by_day[day].sort {|x,y| y.event_datetime <=> x.event_datetime }.each do |e| -%> |
|
8 | <% @events_by_day[day].sort {|x,y| y.event_datetime <=> x.event_datetime }.each do |e| -%> | |
9 | <dt class="<%= e.event_type %>"><span class="time"><%= format_time(e.event_datetime, false) %></span> |
|
9 | <dt class="<%= e.event_type %> <%= User.current.logged? && e.respond_to?(:event_author) && User.current == e.event_author ? 'me' : nil %>"> | |
|
10 | <span class="time"><%= format_time(e.event_datetime, false) %></span> | |||
10 | <%= content_tag('span', h(e.project), :class => 'project') if @project.nil? || @project != e.project %> |
|
11 | <%= content_tag('span', h(e.project), :class => 'project') if @project.nil? || @project != e.project %> | |
11 | <%= link_to format_activity_title(e.event_title), e.event_url %></dt> |
|
12 | <%= link_to format_activity_title(e.event_title), e.event_url %></dt> | |
12 | <dd><span class="description"><%= format_activity_description(e.event_description) %></span> |
|
13 | <dd><span class="description"><%= format_activity_description(e.event_description) %></span> |
@@ -181,6 +181,7 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;} | |||||
181 | div#activity dl, #search-results { margin-left: 2em; } |
|
181 | div#activity dl, #search-results { margin-left: 2em; } | |
182 | div#activity dd { margin-bottom: 1em; padding-left: 18px; } |
|
182 | div#activity dd { margin-bottom: 1em; padding-left: 18px; } | |
183 | div#activity dt, #search-results dt { margin-bottom: 1px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; } |
|
183 | div#activity dt, #search-results dt { margin-bottom: 1px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; } | |
|
184 | div#activity dt.me .time { border-bottom: 1px solid #999; } | |||
184 | div#activity dt .time { color: #777; font-size: 80%; } |
|
185 | div#activity dt .time { color: #777; font-size: 80%; } | |
185 | div#activity dd .description, #search-results dd .description { font-style: italic; } |
|
186 | div#activity dd .description, #search-results dd .description { font-style: italic; } | |
186 | div#activity span.project:after, #search-results span.project:after { content: " -"; } |
|
187 | div#activity span.project:after, #search-results span.project:after { content: " -"; } |
General Comments 0
You need to be logged in to leave comments.
Login now