Sha256: fbf05079f0e66301297a4d9a534ecb180d9025b2ddc3c5a33cac55c68d482876

Contents?: true

Size: 970 Bytes

Versions: 2

Compression:

Stored size: 970 Bytes

Contents

<h4 class="nav-heading"><%=t(:'spotlight.configuration.sidebar.header') %></h4>
<ul class="nav sidenav flex-column">
  <% if can? :update, current_exhibit %>
    <%= nav_link t(:'spotlight.configuration.sidebar.settings'), spotlight.edit_exhibit_path(current_exhibit) %>
    <%= nav_link t(:'spotlight.configuration.sidebar.appearance'), spotlight.edit_exhibit_appearance_path(current_exhibit) %>
  <% end %>
  <% if can? :manage, Spotlight::Role.new(resource: current_exhibit) %>
    <%= nav_link t(:'spotlight.configuration.sidebar.users'), spotlight.exhibit_roles_path(current_exhibit) %>
  <% end %>
  <% if can? :update, current_exhibit.blacklight_configuration %>
    <%= nav_link t(:'spotlight.configuration.sidebar.metadata'), spotlight.edit_exhibit_metadata_configuration_path(current_exhibit) %>
    <%= nav_link t(:'spotlight.configuration.sidebar.search_configuration'), spotlight.edit_exhibit_search_configuration_path(current_exhibit) %>
  <% end %>
</ul>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.alpha.2 app/views/spotlight/shared/_configuration_sidebar.html.erb
blacklight-spotlight-3.0.0.alpha.1 app/views/spotlight/shared/_configuration_sidebar.html.erb