Skip to content

Commit

Permalink
AR-203 Role not in required context
Browse files Browse the repository at this point in the history
  • Loading branch information
randalldfloyd committed Jan 2, 2024
1 parent 6965655 commit 364847d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions app/views/catalog/_show_default.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@
<% end %>
<% end %>
<div class='row'>
<div class='col-md-12'>
<ul class='nav nav-tabs nav-fill' role='tablist' aria-label='<%= t('arclight.views.show.tablist_nav') %>'>
<div class='col-md-12' role='tablist' aria-owns='context-tab content-tab access-tab'>
<ul class='nav nav-tabs nav-fill' aria-label='<%= t('arclight.views.show.tablist_nav') %>'>
<li class='nav-item flex-fill'>
<a class='nav-link p-1 p-sm-2 active' data-toggle='tab' href='#context' role='tab'>
<a class='nav-link p-1 p-sm-2 active' id='context-tab' data-toggle='tab' href='#context' role='tab'>
<%= t 'arclight.views.show.context' %>
</a>
</li>
<% if document.online_content? && document.children? %>
<li class='nav-item flex-fill'>
<a class='nav-link p-1 p-sm-2' data-toggle='tab' href='#online-content' role='tab' data-arclight-online-content-tab='true'>
<a class='nav-link p-1 p-sm-2' id='content-tab' data-toggle='tab' href='#online-content' role='tab' data-arclight-online-content-tab='true'>
<%= t 'arclight.views.show.online_content' %>
<span data-arclight-online-content-tab-count/>
</a>
</li>
<% end %>
<li class='nav-item flex-fill'>
<a class='nav-link p-1 p-sm-2' data-toggle='tab' href='#access' role='tab'>
<a class='nav-link p-1 p-sm-2' id='access-tab' data-toggle='tab' href='#access' role='tab'>
<%= t 'arclight.views.show.access' %>
</a>
</li>
Expand Down
4 changes: 2 additions & 2 deletions app/views/shared/_header_navbar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<%= link_to t('arclight.masthead_heading'), root_path, class: 'h1' %>
</div>

<div class="col-md-4 nav-links d-flex justify-content-end" >
<ul class="navbar-nav" aria-label="browse" role="navigation">
<div class="col-md-4 nav-links d-flex justify-content-end" role="navigation">
<ul class="navbar-nav" aria-label="browse">
<%= render 'shared/main_menu_links' %>
</ul>
</div>
Expand Down

0 comments on commit 364847d

Please sign in to comment.