Sha256: 5202266a2033220d1717997b3fa31b97455a6df624e5737b8712513fd8c61acd

Contents?: true

Size: 669 Bytes

Versions: 1

Compression:

Stored size: 669 Bytes

Contents

<h4><%=t(:'spotlight.administration.sidebar.header') %></h4>
<ul class="nav sidenav">
  <% if can? :update, current_exhibit %>
    <li><%= link_to t(:'spotlight.administration.sidebar.settings'), spotlight.edit_exhibit_path(current_exhibit) %></li>
  <% end %>
  <% if can? :update, current_exhibit.appearance %>
    <li><%= link_to t(:'spotlight.administration.sidebar.appearance'), spotlight.edit_exhibit_appearance_path(current_exhibit) %></li>
  <% end %>
  <% if can? :manage, Spotlight::Role.new(exhibit: current_exhibit) %>
    <li><%= link_to t(:'spotlight.administration.sidebar.users'), spotlight.exhibit_roles_path(current_exhibit) %></li>
  <% end %>
</ul>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blacklight-spotlight-0.4.1 app/views/spotlight/shared/_admin_sidebar.html.erb