muck-services 0.1.19 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/views/entries/search.html.erb +7 -7
- data/muck-services.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.20
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<%= output_errors('', {:class => 'help-box'}) %>
|
2
2
|
<div id="search-results" class="span-24">
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
<% if @hit_count && @hit_count > 0 -%>
|
4
|
+
<%= render(:partial => 'entries/result_status') %>
|
5
|
+
<%= render(:partial => 'entries/results') %>
|
6
|
+
<div class="results-nav"><%= will_paginate(@paginated_results, :next_label => '<b>' + t('muck.services.next_label') + ' »</b>', :previous_label => '<b>« ' + t('muck.services.previous_label') + '</b>') %></div>
|
7
|
+
<% else %>
|
8
|
+
<p><%= t('muck.services.no_hits', :search => @search, :resource_type => @grain_size == 'all' ? 'resources' : 'courses') %></p>
|
9
|
+
<% end %>
|
10
10
|
</div>
|
data/muck-services.gemspec
CHANGED