Sha256: 1296bf52369f23cffbdc505d5ddda39c399240cf34f3ff66ff4b6f8ecdf51505

Contents?: true

Size: 1.54 KB

Versions: 7

Compression:

Stored size: 1.54 KB

Contents

  <li class="h5"><%= t('hyrax.admin.sidebar.activity') %></li>

  <li>
    <%= menu.collapsable_section t('hyrax.admin.sidebar.user_activity'),
                                 icon_class: "fa fa-line-chart",
                                 id: 'collapseUserActivity',
                                 open: menu.user_activity_section? do %>
      <%= menu.nav_link(hyrax.dashboard_profile_path(current_user),
                        also_active_for: hyrax.edit_dashboard_profile_path(current_user)) do %>
        <span class="fa fa-id-card"></span> <span class="sidebar-action-text"><%= t('hyrax.admin.sidebar.profile') %></span>
      <% end %>

      <%= menu.nav_link(hyrax.notifications_path) do %>
        <span class="fa fa-bell"></span> <span class="sidebar-action-text"><%= t('hyrax.admin.sidebar.notifications') %></span>
      <% end %>

      <%= menu.nav_link(hyrax.transfers_path) do %>
        <span class="fa fa-arrows-h"></span> <span class="sidebar-action-text"><%= t('hyrax.admin.sidebar.transfers') %></span>
      <% end %>

      <% if Flipflop.proxy_deposit? %>
        <%= menu.nav_link(hyrax.depositors_path) do %>
          <span class="fa fa-users"></span> <span class="sidebar-action-text"><%= t('hyrax.dashboard.manage_proxies') %></span>
        <% end %>
      <% end %>
    <% end %>
  </li>

  <% if can? :read, :admin_dashboard %>
    <%= menu.nav_link(hyrax.admin_stats_path) do %>
      <span class="fa fa-bar-chart"></span> <span class="sidebar-action-text"><%= t('hyrax.admin.sidebar.statistics') %></span>
    <% end %>
  <% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyrax-2.2.0 app/views/hyrax/dashboard/sidebar/_activity.html.erb
hyrax-2.1.0 app/views/hyrax/dashboard/sidebar/_activity.html.erb
hyrax-2.1.0.rc4 app/views/hyrax/dashboard/sidebar/_activity.html.erb
hyrax-2.1.0.rc3 app/views/hyrax/dashboard/sidebar/_activity.html.erb
hyrax-2.1.0.rc2 app/views/hyrax/dashboard/sidebar/_activity.html.erb
hyrax-2.1.0.rc1 app/views/hyrax/dashboard/sidebar/_activity.html.erb
hyrax-2.1.0.beta2 app/views/hyrax/dashboard/sidebar/_activity.html.erb