Sha256: ffb43988f1121de9b2b6efd0e55fd3cb733c792c79670c1adc8005f75fba7614

Contents?: true

Size: 1.32 KB

Versions: 5

Compression:

Stored size: 1.32 KB

Contents

<%#
Copyright © 2012 The Pennsylvania State University

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
%>

<div class="facet_extended_list">
  <% sidebar_items << capture do %>
  <p><%= link_back_to_catalog %></p>
  <% end %>

  <div class="facet_pagination top">
    <%= render :partial=>'facet_pagination' %>
  </div>
  
  <h3><%= facet_field_labels[params[:id]] %></h3>
  
  <ul class="facet_extended_list">
    <% @pagination.items.each do |item| %>
      <li>
        <% if facet_in_params?( params[:id], item.value ) %>              
          <%= render_selected_facet_value(params[:id], item) %>              
        <% else %>              
          <%= render_facet_value(params[:id], item) %>              
        <% end -%>
      </li>
    <% end %>
  </ul>
  
  <div class="facet_pagination bottom">
    <%= render :partial=>'facet_pagination' %>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sufia-0.0.3 app/views/dashboard/facet.html.erb
sufia-0.0.2 app/views/dashboard/facet.html.erb
sufia-0.0.1 app/views/dashboard/facet.html.erb
sufia-0.0.1.pre2 app/views/dashboard/facet.html.erb
sufia-0.0.1.pre1 app/views/dashboard/facet.html.erb