Sha256: c99f79abd6569723b2dae893faa0432284db7e896a16ed1790662ce615d1666b

Contents?: true

Size: 1.07 KB

Versions: 8

Compression:

Stored size: 1.07 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 flex-column">
    <li class="nav-item">
      <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 class="nav-item"><%= link_to hyrax.dashboard_path, class: "nav-link" 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

8 entries across 8 versions & 1 rubygems

Version Path
hyrax-5.0.0.rc2 app/views/hyrax/dashboard/_sidebar.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/dashboard/_sidebar.html.erb
hyrax-4.0.0 app/views/hyrax/dashboard/_sidebar.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/dashboard/_sidebar.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/dashboard/_sidebar.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/dashboard/_sidebar.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/dashboard/_sidebar.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/dashboard/_sidebar.html.erb