Sha256: 2c487938ea5f0b259ac253bc7c4c346f7a4739aa32dc60c9532bc7f05913f87b

Contents?: true

Size: 1.47 KB

Versions: 10

Compression:

Stored size: 1.47 KB

Contents

<% provide :page_title, "#{@selected_tab.capitalize} listing" %>

<% content_for :head do %>
  <%= rss_feed_link_tag route_set: hyrax %>
  <%= atom_feed_link_tag route_set: hyrax %>
<% end %>

<%= javascript_tag do %>
  <%= render partial: 'scripts', formats: [:js] %>
<% end %>

<h1 class="sr-only">My Works, Collections, Highlights, and <%= t('hyrax.dashboard.my.shares') %></h1>
<ul class="nav nav-tabs" id="my_nav" role="navigation">
  <span class="sr-only">You are currently listing your <%= @selected_tab.pluralize %> .  You have <%= @response.docs.count %> <%= @selected_tab.pluralize(@response.docs.count)%> </span>
  <li class="<%= "active" if @selected_tab == 'works' %>">
    <%= link_to t('hyrax.dashboard.my.works'), hyrax.dashboard_works_path %>
  </li>
  <li class="<%= "active" if @selected_tab == 'collections' %>">
    <%= link_to t('hyrax.dashboard.my.collections'), hyrax.dashboard_collections_path %>
  </li>
  <li class="<%= "active" if @selected_tab == 'highlighted' %>">
    <%= link_to t('hyrax.dashboard.my.highlights'), hyrax.dashboard_highlights_path %>
  </li>
  <li class="<%= "active" if @selected_tab == 'shared' %>">
    <%= link_to t('hyrax.dashboard.my.shares'), hyrax.dashboard_shares_path %>
  </li>
</ul>

<%= render 'search_header' %>

<h2 class="sr-only"><%= @selected_tab.capitalize %> listing</h2>
<%= render partial: 'document_list' %>

<% content_for :sidebar do %>
  <%= render 'facets', current_tab: @selected_tab %>
<% end %>

<%= render 'results_pagination' %>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/views/hyrax/my/index.html.erb
hyrax-1.1.0 app/views/hyrax/my/index.html.erb
hyrax-1.0.5 app/views/hyrax/my/index.html.erb
hyrax-1.0.4 app/views/hyrax/my/index.html.erb
hyrax-1.0.3 app/views/hyrax/my/index.html.erb
hyrax-1.0.2 app/views/hyrax/my/index.html.erb
hyrax-1.0.1 app/views/hyrax/my/index.html.erb
hyrax-1.0.0.rc2 app/views/hyrax/my/index.html.erb
hyrax-1.0.0.rc1 app/views/hyrax/my/index.html.erb
test_hyrax-0.0.1.alpha app/views/hyrax/my/index.html.erb