Patch #24313 » 05_use_regular_icons_in_search_results_v2.patch
| app/views/search/index.html.erb | ||
|---|---|---|
|
<h3><%= l(:label_result_plural) %> (<%= @result_count %>)</h3>
|
||
|
<dl id="search-results">
|
||
|
<% @results.each do |e| %>
|
||
|
<dt class="<%= e.event_type %>">
|
||
|
<dt class="<%= e.event_type %> icon icon-<%= e.event_type.parameterize %>">
|
||
|
<%= content_tag('span', e.project, :class => 'project') unless @project == e.project %>
|
||
|
<%= link_to(highlight_tokens(e.event_title.truncate(255), @tokens), e.event_url) %>
|
||
|
</dt>
|
||
| public/stylesheets/application.css | ||
|---|---|---|
|
div#activity dl, #search-results { margin-left: 2em; }
|
||
|
div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
|
||
|
#search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
|
||
|
div#activity dt.me .time { border-bottom: 1px solid #999; }
|
||
|
div#activity dt .time { color: #777; font-size: 80%; }
|
||
|
div#activity dd .description, #search-results dd .description { font-style: italic; }
|
||
| ... | ... | |
|
div#search-results-counts ul { margin-top: 0.5em; }
|
||
|
div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
|
||
|
#search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
|
||
|
div#roadmap .related-issues { margin-bottom: 1em; }
|
||
|
div#roadmap .related-issues td.checkbox { display: none; }
|
||
|
div#roadmap .wiki h1:first-child { display: none; }
|
||
- « Previous
- 1
- …
- 7
- 8
- 9
- Next »