Sha256: 963c009f0a9847abc3ac138e4a82150b684fd13b77be677e9db7289147007e90

Contents?: true

Size: 1.55 KB

Versions: 53

Compression:

Stored size: 1.55 KB

Contents

<h3 class="nav-heading h4"><%=t(:'spotlight.curation.sidebar.header') %></h3>

<ul class="nav sidenav flex-column">
  <%= nav_link t(:'spotlight.curation.sidebar.items'), spotlight.admin_exhibit_catalog_path(current_exhibit) %>
  <% if can? :tag, current_exhibit %>
    <%= nav_link t(:'spotlight.curation.sidebar.tags'), spotlight.exhibit_tags_path(current_exhibit) %>
  <% end %>
  <% if can? :manage, Spotlight::Search.new(exhibit: current_exhibit) %>
    <%= nav_link t(:'spotlight.curation.sidebar.browse'), spotlight.exhibit_searches_path(current_exhibit) %>
  <% end %>
  <% if can? :manage, Spotlight::FeaturePage.new(exhibit: current_exhibit) or can? :manage, current_exhibit.home_page %>
    <%= nav_link t(:'spotlight.curation.sidebar.feature_pages'), spotlight.exhibit_feature_pages_path(current_exhibit), 'data-no-turbolink' => true %>
  <% end %>
  <% if can? :manage, Spotlight::AboutPage.new(exhibit: current_exhibit) %>
    <%= nav_link t(:'spotlight.curation.sidebar.about_pages'), spotlight.exhibit_about_pages_path(current_exhibit), 'data-no-turbolink' => true %>
  <% end %>
  <% if (can? :manage, current_exhibit.translations.first_or_initialize) && current_exhibit.languages.any? %>
    <%= nav_link t(:'spotlight.curation.sidebar.translations'), spotlight.edit_exhibit_translations_path(current_exhibit), 'data-no-turbolink' => true %>
  <% end %>
  <% if can? :bulk_update, current_exhibit %>
    <%= nav_link t(:'spotlight.curation.sidebar.bulk_updates'), spotlight.edit_exhibit_bulk_updates_path(current_exhibit), 'data-no-turbolink' => true %>
  <% end %>
</ul>

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
blacklight-spotlight-5.0.0.pre.alpha1 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.7.1 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.7.0 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.6.1 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.6.0 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.5.0 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.4.0 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.3.6 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.3.5 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.3.4 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.3.3 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.3.2 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.3.1 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.3.0 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.2.0 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.1.2 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.1.1 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.1.0 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.0.3 app/views/spotlight/shared/_curation_sidebar.html.erb
blacklight-spotlight-4.0.2 app/views/spotlight/shared/_curation_sidebar.html.erb