Skip to content

Commit

Permalink
use new stats page in admin classes overview
Browse files Browse the repository at this point in the history
This was probably an oversight in hedyorg#4474

As we are going to remove all references to the old /stats/ and /logs/
pages this needs to be removed too.
  • Loading branch information
jtwaleson committed Sep 16, 2023
1 parent d918fb1 commit 486a446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/admin/admin-classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h4 class="text-center">Total amount of shown classes: {{ classes|length }} <br>
<td class="error_percentage_week_cell">{% if class.stats.week.runs > 0 %}{{(class.stats.week.fails / class.stats.week.runs * 100)|round(2)}}{% else %}0.00{% endif %}%</td>
<td class="runs_cell">{{class.stats.total.runs}}</td>
<td class="error_percentage_cell">{% if class.stats.total.runs > 0 %}{{(class.stats.total.fails / class.stats.total.runs * 100)|round(2)}}{% else %}0.00{% endif %}%</td>
<td id="statistics_cell"><a href="/stats/class/{{class.id}}" target="_blank">Click here</a></td>
<td id="statistics_cell"><a href="/live_stats/class/{{class.id}}" target="_blank">Click here</a></td>
<td id="overview_cell"><a href="/for-teachers/class/{{class.id}}" target="_blank">Click here</a></td>
</tr>
{% endfor %}
Expand Down

0 comments on commit 486a446

Please sign in to comment.