Sha256: e82563c5213aba82517d3ed56057faf2106020d8a78236b3b75d8a0aa0b5fb84

Contents?: true

Size: 1.12 KB

Versions: 7

Compression:

Stored size: 1.12 KB

Contents

<!-- This was copied from https://github.com/projectblacklight/blacklight/blob/master/app/views/catalog/facet.html.erb
 It implements the facets in the same manner as blacklight does for the main catalog for the individual's dashbord
-->
<% content_for :sidebar do %>
  <p><%= link_back_to_catalog %></p>
<% end %>

<div class="facet_pagination top">
  <%= render :partial=>'facet_pagination' %>
</div>

<div class="modal-header">
  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  <h3><%= facet_field_labels[params[:id]] %></h3>
</div>
<div class="modal-body">
  <div class="facet_extended_list">

    <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>
</div>

<div class="modal-footer">

  <div class="facet_pagination bottom">
    <%= render :partial=>'facet_pagination' %>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
curate-0.3.2 app/views/dashboard/facet.html.erb
curate-0.3.1 app/views/dashboard/facet.html.erb
curate-0.2.0 app/views/dashboard/facet.html.erb
curate-0.1.3 app/views/dashboard/facet.html.erb
curate-0.1.2 app/views/dashboard/facet.html.erb
curate-0.1.1 app/views/dashboard/facet.html.erb
curate-0.1.0 app/views/dashboard/facet.html.erb