Skip to content

Commit

Permalink
Add back info from tour (after removing it) in form of tooltips
Browse files Browse the repository at this point in the history
* Note that this little information is really all the tour provided
* Note that the jumptron already points out the most relevant documentation
  pages via our brandings
* See https://progress.opensuse.org/issues/163004
  • Loading branch information
Martchus committed Aug 15, 2024
1 parent c2223d1 commit 1283cf1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions templates/webapi/layouts/navbar.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class='nav-item' id="all_tests">
%= link_to 'All Tests' => url_for('tests') => class => 'nav-link'
%= link_to 'All Tests' => url_for('tests') => class => 'nav-link', title => 'Lists all tests grouped by state'
</li>

<li class="nav-item dropdown" id="job_groups">
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" data-submenu>Job Groups</a>
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button"
aria-haspopup="true" aria-expanded="false" data-submenu
title="Shows test results for a specific group (usually a specific distribution/product)">Job Groups</a>
<ul class="dropdown-menu">
%= current_job_group
% for my $parent_or_group (@$job_groups_and_parents) {
Expand Down Expand Up @@ -42,10 +44,12 @@
</li>
% if (current_user) {
<li class="nav-item dropdown" id="user-action">
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" >Logged in as <%= current_user->name %></a>
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button"
aria-haspopup="true" aria-expanded="false"
title="Contains the Activity View and various configuration pages">Logged in as <%= current_user->name %></a>
<div class="dropdown-menu">
%= tag 'h3' => class => 'dropdown-header' => 'Operators Menu'
%= link_to 'Activity View' => url_for('activity_view') => class => 'dropdown-item' => id => 'activity_view'
%= link_to 'Activity View' => url_for('activity_view') => class => 'dropdown-item' => id => 'activity_view', title => 'Gives you an overview of your current jobs'
%= link_to 'Medium types' => url_for('admin_products') => class => 'dropdown-item'
%= link_to 'Machines' => url_for('admin_machines') => class => 'dropdown-item'
%= link_to 'Test suites' => url_for('admin_test_suites') => class => 'dropdown-item'
Expand Down

0 comments on commit 1283cf1

Please sign in to comment.