Skip to content

Commit

Permalink
Show critical path groups in UI tooltip if possible
Browse files Browse the repository at this point in the history
This follows on the previous critical path group work by having
the tooltip for the critical path icon in the web UI tell you
which critical path groups the update is in, if we are on the
grouped path.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
  • Loading branch information
AdamWill authored and mergify[bot] committed Oct 30, 2022
1 parent e09a7d5 commit 98bac68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bodhi-server/bodhi/server/templates/update.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@
% if update.type:
${self.util.type2icon(update.type) | n}
% endif
% if update.critpath:
% if update.critpath_groups:
<br/><span data-bs-toggle="tooltip" title="This update is in critical path groups ${update.critpath_groups}" class="ms-n2 text-muted"><small> <i class="fa fa-fw fa-fire"></i></small></span>
% elif update.critpath:
<br/><span data-bs-toggle="tooltip" title="This update is in the critical path" class="ms-n2 text-muted"><small> <i class="fa fa-fw fa-fire"></i></small></span>
% endif
</div>
Expand Down

0 comments on commit 98bac68

Please sign in to comment.