Sha256: e26ba051518ed6992f3afa87df2a045a8b9efd55004ec51403582d42021f09b6

Contents?: true

Size: 1.67 KB

Versions: 12

Compression:

Stored size: 1.67 KB

Contents

  <% if menu.show_configuration? %>
    <li class="h5"><%= t('hyrax.admin.sidebar.configuration') %></li>
    <li>
      <%= menu.collapsable_section t('hyrax.admin.sidebar.settings'),
                                   icon_class: "fa fa-cog",
                                   id: 'collapseSettings',
                                   open: menu.settings_section? do %>
        <% if can?(:update, :appearance) %>
          <%= menu.nav_link(hyrax.admin_appearance_path) do %>
            <span class="fa fa-paint-brush"></span> <span class="sidebar-action-text"><%= t('hyrax.admin.sidebar.appearance') %></span>
          <% end %>
        <% end %>
        <% if can?(:manage, Hyrax::Feature) %>
          <%= menu.nav_link(hyrax.edit_pages_path) do %>
            <span class="fa fa-file-text-o"></span> <span class="sidebar-action-text"><%= t('hyrax.admin.sidebar.pages') %></span>
          <% end %>
          <%= menu.nav_link(hyrax.edit_content_blocks_path) do %>
            <span class="fa fa-square-o"></span> <span class="sidebar-action-text"><%= t('hyrax.admin.sidebar.content_blocks') %></span>
          <% end %>
          <%= menu.nav_link(hyrax.admin_features_path) do %>
            <span class="fa fa-wrench"></span> <span class="sidebar-action-text"><%= t('hyrax.admin.sidebar.technical') %></span>
          <% end %>
        <% end %>
      <% end %>
    </li>
    <% if can?(:manage, Sipity::WorkflowResponsibility) %>
      <%= menu.nav_link(hyrax.admin_workflow_roles_path) do %>
        <span class="fa fa-users"></span> <span class="sidebar-action-text"><%= t('hyrax.admin.sidebar.workflow_roles') %></span>
      <% end %>
    <% end # end of configuration block %>
  <% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hyrax-2.0.3 app/views/hyrax/dashboard/sidebar/_configuration.html.erb
hyrax-2.0.2 app/views/hyrax/dashboard/sidebar/_configuration.html.erb
hyrax-2.0.1 app/views/hyrax/dashboard/sidebar/_configuration.html.erb
hyrax-2.0.0 app/views/hyrax/dashboard/sidebar/_configuration.html.erb
hyrax-2.0.0.rc3 app/views/hyrax/dashboard/sidebar/_configuration.html.erb
hyrax-2.0.0.rc2 app/views/hyrax/dashboard/sidebar/_configuration.html.erb
hyrax-2.0.0.rc1 app/views/hyrax/dashboard/sidebar/_configuration.html.erb
hyrax-2.0.0.beta5 app/views/hyrax/dashboard/sidebar/_configuration.html.erb
hyrax-2.0.0.beta4 app/views/hyrax/dashboard/sidebar/_configuration.html.erb
hyrax-2.0.0.beta3 app/views/hyrax/dashboard/sidebar/_configuration.html.erb
hyrax-2.0.0.beta2 app/views/hyrax/dashboard/sidebar/_configuration.html.erb
hyrax-2.0.0.beta1 app/views/hyrax/dashboard/sidebar/_configuration.html.erb