Skip to content

Commit

Permalink
Fix display of skipped jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Nov 1, 2024
1 parent ab463b5 commit 76aec39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions github_app_geo_project/templates/project.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ <h2>Last thread events</h2>
<div class="alert alert-danger event" role="alert">
%else:
<!---->
%if job.status.value == 'done':
<div class="alert alert-secondary event" role="alert">
%if job.status.value in ['new', 'pending']:
<div class="alert alert-primary event" role="alert">
%else:
<div class="alert alert-primary event" role="alert">
<div class="alert alert-secondary event" role="alert">
%endif
<!---->
%endif
Expand Down Expand Up @@ -194,7 +194,7 @@ <h2>Last thread events</h2>
<!---->
%if job.log:
<a href="${request.route_url('logs', id=job.id)}">Logs</a>
%else:
%elif job.status.value in ['new', 'pending']:
<a href="${request.route_url('logs', id=job.id)}">Status</a>
%endif
</div>
Expand Down

0 comments on commit 76aec39

Please sign in to comment.