summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-20 20:45:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-20 20:45:53 +0000
commit03308028c9520fa6f4f6e153799031b153a11dfc (patch)
tree79618a5ea1d9d35a0c1b83733674ce15cb9d364e
parentb0be3b95aab8c01a7561431579c83cde07f3109f (diff)
downloadredmine-03308028c9520fa6f4f6e153799031b153a11dfc.tar.gz
redmine-03308028c9520fa6f4f6e153799031b153a11dfc.zip
Slight changes to the search results.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1440 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/search/index.rhtml2
-rw-r--r--public/images/projects.pngbin690 -> 811 bytes
-rw-r--r--public/stylesheets/application.css2
3 files changed, 3 insertions, 1 deletions
diff --git a/app/views/search/index.rhtml b/app/views/search/index.rhtml
index 44d024b60..b5cea4645 100644
--- a/app/views/search/index.rhtml
+++ b/app/views/search/index.rhtml
@@ -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>
diff --git a/public/images/projects.png b/public/images/projects.png
index 244c896f0..073c7219d 100644
--- a/public/images/projects.png
+++ b/public/images/projects.png
Binary files differ
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 9a0201378..2467fd3cf 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -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; }