Skip to content

Commit

Permalink
fix: add tools started in last 24 hours to stats (#2800)
Browse files Browse the repository at this point in the history
  • Loading branch information
niross authored Oct 13, 2023
1 parent 8dcdb3f commit 7212962
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,18 @@ <h3>As of {% now "d/m/y H:i" %}</h3>
</a>
</div>
{% endif %}
{% if tools_started_24_hours is not None %}
<div class="stat">
<a
target="_blank"
href="{% url 'admin:applications_applicationinstance_changelist' %}?state__exact=RUNNING"
>
<h2>Tools successfully started</h2>
<h1>{{ tools_started_24_hours }}</h1>
<h3>In the past 24 hours</h3>
</a>
</div>
{% endif %}
{% if failed_tools_24_hours is not None %}
<div class="stat{% if failed_tools_24_hours > 0 %} bad-news{% endif %}">
<a
Expand Down

0 comments on commit 7212962

Please sign in to comment.