Sha256: bd80ed035d95d34c7f73e4fb9b2f072041b02914abcebb7b3b5a886e9de1931a

Contents?: true

Size: 1.02 KB

Versions: 6

Compression:

Stored size: 1.02 KB

Contents

<% menu = Hyrax::MenuPresenter.new(self) %>
<div class="sidebar-toggle"><span class="fa fa-chevron-circle-right"></span></div>
<nav aria-label="sidebar-nav">
  <ul class="nav nav-pills nav-stacked">
    <li>
      <div class="profile">
        <div class="profile-image">
          <%= image_tag current_user.avatar.url(:thumb), width: 100 if current_user.avatar.present? %>
        </div>
        <div class="profile-data">
          <div class="profile-data-name"><%= current_user.name %></div>
        </div>
      </div>
    </li>
    <li><%= link_to hyrax.dashboard_path do %>
          <span class="fa fa-home" aria-hidden="true"></span> <span class="sidebar-action-text"><%= t('hyrax.admin.sidebar.dashboard') %></span>
        <% end %>
    </li>
    <%= render 'hyrax/dashboard/sidebar/activity', menu: menu %>
    <%= render 'hyrax/dashboard/sidebar/repository_content', menu: menu %>
    <%= render 'hyrax/dashboard/sidebar/tasks', menu: menu %>
    <%= render 'hyrax/dashboard/sidebar/configuration', menu: menu %>
  </ul>
</nav>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/views/hyrax/dashboard/_sidebar.html.erb
hyrax-3.5.0 app/views/hyrax/dashboard/_sidebar.html.erb
hyrax-3.4.2 app/views/hyrax/dashboard/_sidebar.html.erb
hyrax-3.4.1 app/views/hyrax/dashboard/_sidebar.html.erb
hyrax-3.4.0 app/views/hyrax/dashboard/_sidebar.html.erb
hyrax-3.3.0 app/views/hyrax/dashboard/_sidebar.html.erb