##// END OF EJS Templates
Adds icons on search results....
Jean-Philippe Lang -
r1421:82f204d8ac48
parent child
Show More
@@ -20,13 +20,13
20 20
21 21 <% if @results %>
22 22 <h3><%= l(:label_result_plural) %></h3>
23 <ul id="search-results">
23 <dl id="search-results">
24 24 <% @results.each do |e| %>
25 <li><p><%= 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 %><br />
26 <%= highlight_tokens(e.event_description, @tokens) %><br />
27 <span class="author"><%= format_time(e.event_datetime) %></span></p></li>
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 <dd><span class="description"><%= highlight_tokens(e.event_description, @tokens) %></span><br />
27 <span class="author"><%= format_time(e.event_datetime) %></span><dd>
28 28 <% end %>
29 </ul>
29 </dl>
30 30 <% end %>
31 31
32 32 <p><center>
@@ -172,22 +172,24 div#issue-changesets .changeset { padding: 4px;}
172 172 div#issue-changesets .changeset { border-bottom: 1px solid #ddd; }
173 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 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 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 180 div#activity span.project:after, #search-results span.project:after { content: " -"; }
181 div#activity dt.issue { background-image: url(../images/ticket.png); }
182 div#activity dt.issue-edit { background-image: url(../images/ticket_edit.png); }
183 div#activity dt.issue-closed { background-image: url(../images/ticket_checked.png); }
184 div#activity dt.changeset { background-image: url(../images/changeset.png); }
185 div#activity dt.news { background-image: url(../images/news.png); }
186 div#activity dt.message { background-image: url(../images/message.png); }
187 div#activity dt.reply { background-image: url(../images/comments.png); }
188 div#activity dt.wiki-page { background-image: url(../images/wiki_edit.png); }
189 div#activity dt.attachment { background-image: url(../images/attachment.png); }
190 div#activity dt.document { background-image: url(../images/document.png); }
181 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px;}
182
183 dt.issue { background-image: url(../images/ticket.png); }
184 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
185 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
186 dt.changeset { background-image: url(../images/changeset.png); }
187 dt.news { background-image: url(../images/news.png); }
188 dt.message { background-image: url(../images/message.png); }
189 dt.reply { background-image: url(../images/comments.png); }
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 194 div#roadmap fieldset.related-issues { margin-bottom: 1em; }
193 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