Sha256: 12e784095e6ea4dc6bcc6d38ba75ee2db93870010810c66382dee094410f1648

Contents?: true

Size: 1.76 KB

Versions: 8

Compression:

Stored size: 1.76 KB

Contents

<% @page_title = t('blacklight.bookmarks.page_title', application_name: application_name) %>

<%= javascript_include_tag 'bpluser/folder_tools' %>

<div id="content" class="folder_show_container col-sm-9">

  <div id="breadcrumb">
    <ul class="breadcrumb">
      <% if current_user %>
          <li class="breadcrumb-item">
            <%= link_to(t('blacklight.users.account_heading'), current_user) %>
            <span class="divider"><%= t('blacklight.breadcrumb.separator') %></span>
          </li>
      <% end %>
      <li class="breadcrumb-item">
        <%= link_to(t('blacklight.folders.list_title'), folders_path) %>
        <span class="divider"><%= t('blacklight.breadcrumb.separator') %></span>
      </li>
      <li class="active breadcrumb-item">
        <%= t('blacklight.bookmarks.title') %>
      </li>
    </ul>
  </div>

<h2><%= t('blacklight.bookmarks.title') %>
  <% unless !current_or_guest_user || @document_list.blank? %>
      <small id="folder_tools">
      </small>
  <% end %>
</h2>

  <div id="folder_description">
    <%= t('blacklight.bookmarks.description') %>
  </div>

<%- if current_or_guest_user.blank? -%>
      <div id="empty_folder" class="well">
        <h5><%= t('blacklight.bookmarks.need_login') %></h5>
      </div>
<%- elsif @document_list.blank? -%>
      <div id="empty_folder" class="well">
        <h4><%= t('blacklight.bookmarks.no_bookmarks') %></h4>
        <p><%= t('blacklight.folders.help.add_items') %></p>
      </div>
<% else %>

    <%= render 'sort_and_per_page' %>

    <%= form_tag selected_bookmarks_actions_path, :method => :put, :id => "item_actions_form" do %>

        <%= render :partial => 'shared/folder_item_actions' %>

        <%= render_document_index %>

    <% end %>
    <%= render 'results_pagination' %>
<% end %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bpluser-0.5.0 app/views/bookmarks/index.html.erb
bpluser-0.4.0 app/views/bookmarks/index.html.erb
bpluser-0.3.0 app/views/bookmarks/index.html.erb
bpluser-0.2.0.4 app/views/bookmarks/index.html.erb
bpluser-0.2.0.3 app/views/bookmarks/index.html.erb
bpluser-0.2.0.2 app/views/bookmarks/index.html.erb
bpluser-0.2.0.1 app/views/bookmarks/index.html.erb
bpluser-0.2.0 app/views/bookmarks/index.html.erb