Unverified Commit 7aeb70e8 authored by Marco Marinello's avatar Marco Marinello
Browse files

Add school status in submit log

parent a7ec9f2c
......@@ -10,6 +10,7 @@
<table id="schools-table" class="table table-striped">
<thead>
<tr>
<th></th>
<th>{% trans "School" %}</th>
<th>{% trans "Last Data Timestamp" %}</th>
<th>{% trans "Last Data Received" %}</th>
......@@ -18,6 +19,11 @@
<tbody>
{% for d in data %}
<tr>
<td>
{% if d.school.get_non_acked_alarms %}<i class="fa fa-check" style="color:green;"></i>
{% else %}<i class="fa fa-cross" style="color:green;"></i>
{% endif %}
</td>
<td><a href="{% url 'school_detail' pk=d.school__pk %}">{{d.school__name}}</a></td>
<td>{{d.last|naturaltime}}</td>
<td>{{d.last}}</td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment