Sha256: dbb92d29385016ec5c7a397736cf32ff1b7b0d7d2fed39de02b085d413fe28c0

Contents?: true

Size: 1.59 KB

Versions: 8

Compression:

Stored size: 1.59 KB

Contents

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

<% content_for :head do %>
  <%= auto_discovery_link_tag(:rss, sufia.url_for(params.merge(format: 'rss')), title: "RSS for results") %>
  <%= auto_discovery_link_tag(:atom, sufia.url_for(params.merge(format: 'atom')), title: "Atom for results") %>
<% end %>

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

<h1 class="sr-only">My Works, Collections, Highlights, and Files Shared with Me</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('sufia.dashboard.my.works'), sufia.dashboard_works_path %>
  </li>
  <li class="<%= "active" if @selected_tab == 'collections' %>">
    <%= link_to t('sufia.dashboard.my.collections'), sufia.dashboard_collections_path %>
  </li>
  <li class="<%= "active" if @selected_tab == 'highlighted' %>">
    <%= link_to t('sufia.dashboard.my.highlights'), sufia.dashboard_highlights_path %>
  </li>
  <li class="<%= "active" if @selected_tab == 'shared' %>">
    <%= link_to t('sufia.dashboard.my.shares'), sufia.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

8 entries across 8 versions & 1 rubygems

Version Path
sufia-7.1.0 app/views/my/index.html.erb
sufia-7.0.0 app/views/my/index.html.erb
sufia-7.0.0.rc2 app/views/my/index.html.erb
sufia-7.0.0.rc1 app/views/my/index.html.erb
sufia-7.0.0.beta4 app/views/my/index.html.erb
sufia-7.0.0.beta3 app/views/my/index.html.erb
sufia-7.0.0.beta2 app/views/my/index.html.erb
sufia-7.0.0.beta1 app/views/my/index.html.erb