Sha256: 299451e9e40babf10c37b62222f7b6c4a9f203fc3fb904fdda1d3a6b6301c6e9

Contents?: true

Size: 812 Bytes

Versions: 2

Compression:

Stored size: 812 Bytes

Contents

<% if can?(:manage, Spotlight::Site.instance) || can?(:create, Spotlight::Exhibit) %>
<h4 class="nav-heading"><%=t(:'.header') %></h4>
<ul class="nav sidenav">
  <li><%= link_to t('.documentation'), 'https://github.com/sul-dlss/spotlight/wiki/Configuration-settings' %></li>

  <% if can? :manage, Spotlight::Site.instance %>
    <li><%= link_to t(:'spotlight.sites.edit.section'), spotlight.edit_site_path %></li>
  <% end %>

  <% if can? :manange, Spotlight::Exhibit %>
    <li><%= link_to t(:'spotlight.sites.edit_exhibits.section'), spotlight.edit_site_exhibits_path %></li>
  <% end %>
</ul>

<ul class="nav sidenav nav-pills nav-stacked">
  <li><%= link_to t('.create_exhibit'), new_exhibit_path, class: 'btn btn-default btn-nav', role: 'button' if can? :create, Spotlight::Exhibit %></li>
</ul>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-spotlight-0.15.0 app/views/shared/_site_sidebar.html.erb
blacklight-spotlight-0.14.2 app/views/shared/_site_sidebar.html.erb