@@ -20,13 +20,13 | |||||
20 |
|
20 | |||
21 | <% if @results %> |
|
21 | <% if @results %> | |
22 | <h3><%= l(:label_result_plural) %></h3> |
|
22 | <h3><%= l(:label_result_plural) %></h3> | |
23 |
< |
|
23 | <dl id="search-results"> | |
24 | <% @results.each do |e| %> |
|
24 | <% @results.each do |e| %> | |
25 |
< |
|
25 | <dt class="<%= e.event_type %>"><%= content_tag('span', h(e.project), :class => 'project') unless @project == e.project %> <%= link_to highlight_tokens(truncate(e.event_title, 255), @tokens), e.event_url %></dt> | |
26 | <%= highlight_tokens(e.event_description, @tokens) %><br /> |
|
26 | <dd><span class="description"><%= highlight_tokens(e.event_description, @tokens) %></span><br /> | |
27 |
<span class="author"><%= format_time(e.event_datetime) %></span>< |
|
27 | <span class="author"><%= format_time(e.event_datetime) %></span><dd> | |
28 | <% end %> |
|
28 | <% end %> | |
29 |
</ |
|
29 | </dl> | |
30 | <% end %> |
|
30 | <% end %> | |
31 |
|
31 | |||
32 | <p><center> |
|
32 | <p><center> |
@@ -172,22 +172,24 div#issue-changesets .changeset { padding: 4px;} | |||||
172 | div#issue-changesets .changeset { border-bottom: 1px solid #ddd; } |
|
172 | div#issue-changesets .changeset { border-bottom: 1px solid #ddd; } | |
173 | div#issue-changesets p { margin-top: 0; margin-bottom: 1em;} |
|
173 | div#issue-changesets p { margin-top: 0; margin-bottom: 1em;} | |
174 |
|
174 | |||
175 | div#activity dl { margin-left: 2em; } |
|
175 | div#activity dl, #search-results { margin-left: 2em; } | |
176 | div#activity dd { margin-bottom: 1em; padding-left: 18px; } |
|
176 | div#activity dd { margin-bottom: 1em; padding-left: 18px; } | |
177 | div#activity dt { margin-bottom: 1px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; } |
|
177 | div#activity dt, #search-results dt { margin-bottom: 1px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; } | |
178 | div#activity dt .time { color: #777; font-size: 80%; } |
|
178 | div#activity dt .time { color: #777; font-size: 80%; } | |
179 | div#activity dd .description { font-style: italic; } |
|
179 | div#activity dd .description, #search-results dd .description { font-style: italic; } | |
180 | div#activity span.project:after, #search-results span.project:after { content: " -"; } |
|
180 | div#activity span.project:after, #search-results span.project:after { content: " -"; } | |
181 | div#activity dt.issue { background-image: url(../images/ticket.png); } |
|
181 | #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px;} | |
182 | div#activity dt.issue-edit { background-image: url(../images/ticket_edit.png); } |
|
182 | ||
183 |
|
|
183 | dt.issue { background-image: url(../images/ticket.png); } | |
184 |
|
|
184 | dt.issue-edit { background-image: url(../images/ticket_edit.png); } | |
185 |
|
|
185 | dt.issue-closed { background-image: url(../images/ticket_checked.png); } | |
186 |
|
|
186 | dt.changeset { background-image: url(../images/changeset.png); } | |
187 |
|
|
187 | dt.news { background-image: url(../images/news.png); } | |
188 |
|
|
188 | dt.message { background-image: url(../images/message.png); } | |
189 |
|
|
189 | dt.reply { background-image: url(../images/comments.png); } | |
190 |
|
|
190 | dt.wiki-page { background-image: url(../images/wiki_edit.png); } | |
|
191 | dt.attachment { background-image: url(../images/attachment.png); } | |||
|
192 | dt.document { background-image: url(../images/document.png); } | |||
191 |
|
193 | |||
192 | div#roadmap fieldset.related-issues { margin-bottom: 1em; } |
|
194 | div#roadmap fieldset.related-issues { margin-bottom: 1em; } | |
193 | div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; } |
|
195 | div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; } |
General Comments 0
You need to be logged in to leave comments.
Login now