Sha256: b6daf0e53a97a0582e23b211336e3fd5f1e51ca6b1f1dcfc3086d9d53ff6795c

Contents?: true

Size: 1.96 KB

Versions: 8

Compression:

Stored size: 1.96 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, :collection_types) %>
          <%= menu.nav_link(hyrax.admin_collection_types_path) do %>
            <span class="fa fa-folder-open"></span> <span class="sidebar-action-text"><%= t('hyrax.admin.sidebar.collection_types') %></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

8 entries across 8 versions & 1 rubygems

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