Sha256: 8e2ed80631d53257e2cf7bb5b5be604a5e42e5ca68d81a9feeaf50434b06e791

Contents?: true

Size: 984 Bytes

Versions: 5

Compression:

Stored size: 984 Bytes

Contents

<div id="finder">

<% if !@results.nil? && !@results.empty? %>

<p id="results-description"><%= t('muck.raker.results') %> <b><%= (@offset+1) %> - <%= (@offset + @limit) < @hit_count ? (@offset + @limit) : @hit_count %></b> <%= t('muck.raker.of') %> <b><%= @hit_count %></b> <%= t('muck.raker.for') %> <b><%= URI.unescape(@term_list) %></b></p>

<div id="results">
<%= render(:partial => 'entries/result', :collection => @results) %>
</div>

<div>
<b><%= (link_to(t('muck.raker.previous'), {:action => :browse_by_tags, :tags => @term_list, :locale => @language, :limit => @limit, :offset => @offset - @limit}, :rel => "nofollow") + "&nbsp;&nbsp;") if @offset > 0 %>
<%= (link_to(t('muck.raker.next'), {:action => :browse_by_tags, :tags => @term_list,  :locale => @language,:limit => @limit, :offset => @offset + @limit}, :rel => "nofollow") if @results.size >= @limit )%>
</b>
</div>           

<% else %>
<p><%= t('muck.raker.no_hits') %></p>
<% end %>

</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
muck-raker-0.1.1 app/views/entries/search.html.erb
muck-raker-0.1.2 app/views/entries/search.html.erb
muck-raker-0.1.3 app/views/entries/search.html.erb
muck-raker-0.1.4 app/views/entries/search.html.erb
muck-raker-0.1.0 app/views/entries/search.html.erb