# HG changeset patch # User Chris Cannam # Date 1301393667 -3600 # Node ID a89626bf10c7d1c3d101125115361518f1bff270 # Parent 1fbfab2f1624103c83f2a40be360691cc834fd62# Parent 1333582e34c4aacfe91cf0dba240482516e59d86 Merge diff -r 1fbfab2f1624 -r a89626bf10c7 app/views/search/index.rhtml --- a/app/views/search/index.rhtml Tue Mar 29 10:49:24 2011 +0100 +++ b/app/views/search/index.rhtml Tue Mar 29 11:14:27 2011 +0100 @@ -19,11 +19,11 @@ <% if @results %> + +

<%= l(:label_result_plural) %> (<%= @results_by_type.values.sum %>)

<%= render_results_by_type(@results_by_type) unless @scope.size == 1 %>
- -

<%= l(:label_result_plural) %> (<%= @results_by_type.values.sum %>)

<% @results.each do |e| %>
<%= content_tag('span', h(e.project), :class => 'project') unless @project == e.project %> <%= link_to highlight_tokens(truncate(e.event_title, :length => 255), @tokens), e.event_url %>
diff -r 1fbfab2f1624 -r a89626bf10c7 public/stylesheets/application.css --- a/public/stylesheets/application.css Tue Mar 29 10:49:24 2011 +0100 +++ b/public/stylesheets/application.css Tue Mar 29 11:14:27 2011 +0100 @@ -304,9 +304,9 @@ #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; } -div#search-results-counts {float:right;} -div#search-results-counts ul { margin-top: 0.5em; } -div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; } +div#search-results-counts { display: block; padding-left: 0; margin-left: 0; } +div#search-results-counts ul { margin-top: 0.5em; padding-left: 0; margin-left: 0; } +div#search-results-counts li { display: inline; list-style-type: none; margin-right: 1em; } dt.issue { background-image: url(../images/ticket.png); } dt.issue-edit { background-image: url(../images/ticket_edit.png); }