Browse Source

Slight changes to the search results.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1440 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.8.0-RC1
Jean-Philippe Lang 16 years ago
parent
commit
03308028c9
3 changed files with 3 additions and 1 deletions
  1. 1
    1
      app/views/search/index.rhtml
  2. BIN
      public/images/projects.png
  3. 2
    0
      public/stylesheets/application.css

+ 1
- 1
app/views/search/index.rhtml View File

@@ -23,7 +23,7 @@
<dl id="search-results">
<% @results.each do |e| %>
<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>
<dd><span class="description"><%= highlight_tokens(e.event_description, @tokens) %></span><br />
<dd><span class="description"><%= highlight_tokens(e.event_description, @tokens) %></span>
<span class="author"><%= format_time(e.event_datetime) %></span><dd>
<% end %>
</dl>

BIN
public/images/projects.png View File


+ 2
- 0
public/stylesheets/application.css View File

@@ -179,6 +179,7 @@ div#activity dt .time { color: #777; font-size: 80%; }
div#activity dd .description, #search-results dd .description { font-style: italic; }
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 span.description { display:block; }

dt.issue { background-image: url(../images/ticket.png); }
dt.issue-edit { background-image: url(../images/ticket_edit.png); }
@@ -190,6 +191,7 @@ dt.reply { background-image: url(../images/comments.png); }
dt.wiki-page { background-image: url(../images/wiki_edit.png); }
dt.attachment { background-image: url(../images/attachment.png); }
dt.document { background-image: url(../images/document.png); }
dt.project { background-image: url(../images/projects.png); }

div#roadmap fieldset.related-issues { margin-bottom: 1em; }
div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; }

Loading…
Cancel
Save