Skip to content

Commit

Permalink
Revert usage of new badge for non algorithm jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
koopmant committed Oct 31, 2024
1 parent ae9f4b6 commit 9d45b50
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@ <h2>Evaluation</h2>

<dt>Status</dt>
<dd>
{% include "algorithms/job_status_badge_detail.html" with object=evaluation %}
<span class="badge badge-{{ evaluation.status_context }}">
{% if evaluation.animate %}
<span class="spinner-border spinner-border-sm" role="status"
aria-hidden="true"></span>
{% endif %}
{{ evaluation.get_status_display }}
</span>
</dd>

<dt>User</dt>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ <h2>Submissions and Evaluations for {{ phase.title }}</h2>
</td>
{% endif %}
<td>
{% include "algorithms/job_status_badge_detail.html" with object=evaluation %}
<span class="badge badge-{{ evaluation.status_context }}">
{% if evaluation.animate %}
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
{% endif %}
{{ evaluation.get_status_display }}
</span>
</td>

{% if "change_challenge" in challenge_perms %}
Expand Down

0 comments on commit 9d45b50

Please sign in to comment.