]> source.dussan.org Git - redmine.git/commitdiff
Slight changes to the search results.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 20 May 2008 20:45:53 +0000 (20:45 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 20 May 2008 20:45:53 +0000 (20:45 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1440 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/search/index.rhtml
public/images/projects.png
public/stylesheets/application.css

index 44d024b60b865f5ed6ddb83151a04784ef142422..b5cea4645857bb918d0c0dfd8fd116b7405489fe 100644 (file)
@@ -23,7 +23,7 @@
     <dl id="search-results">\r
       <% @results.each do |e| %>\r
         <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>\r
-        <dd><span class="description"><%= highlight_tokens(e.event_description, @tokens) %></span><br />\r
+        <dd><span class="description"><%= highlight_tokens(e.event_description, @tokens) %></span>\r
         <span class="author"><%= format_time(e.event_datetime) %></span><dd>\r
       <% end %>\r
     </dl>\r
index 244c896f0eddc1e19a2cdae29acda561a20be169..073c7219db8a53000c1d6c2af503499b43716334 100644 (file)
Binary files a/public/images/projects.png and b/public/images/projects.png differ
index 9a0201378b9314b5c619efcaacf8438bee5e6640..2467fd3cff58f5c7b1e4eb2215449b33c38e2e7a 100644 (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; }