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 CHANGED
@@ -1 +1 @@
1
- 0.1.19
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
- <% if @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') + ' &raquo;</b>', :previous_label => '<b>&laquo; ' + 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 %>
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') + ' &raquo;</b>', :previous_label => '<b>&laquo; ' + 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>
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-services}
8
- s.version = "0.1.19"
8
+ s.version = "0.1.20"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Joel Duffin", "Justin Ball"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Duffin