summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2015-02-26 18:34:21 -0600
committerDan McGee <dan@archlinux.org>2015-02-26 18:34:21 -0600
commit8afa3cc2df4d3a53eec44b1b977b0b50b096617d (patch)
tree8a06deb5ac16a906fa8dbff1e87727534ea58aac /templates
parentf3214b4b03cc7cc8c4317aae8c8f3353c3f01049 (diff)
downloadarchweb-8afa3cc2df4d3a53eec44b1b977b0b50b096617d.tar.gz
archweb-8afa3cc2df4d3a53eec44b1b977b0b50b096617d.zip
Add details links to third mirror status table
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/mirrors/error_table.html.jinja8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/mirrors/error_table.html.jinja b/templates/mirrors/error_table.html.jinja
index 52f68135..132aae63 100644
--- a/templates/mirrors/error_table.html.jinja
+++ b/templates/mirrors/error_table.html.jinja
@@ -7,16 +7,18 @@
<th>Error Message</th>
<th>Last Occurred</th>
<th>Occurrences (last {{ cutoff|hours }})</th>
+ <th></th>
</tr>
</thead>
<tbody>
{% for log in error_logs %}<tr class="{{ loop.cycle('odd', 'even') }}">
- <td>{{ log.url__url }}</td>
- <td>{{ log.url__protocol__protocol }}</td>
- <td class="country">{{ country_flag(log.country) }}{{ log.country.name }}</td>
+ <td>{{ log.url.url }}</td>
+ <td>{{ log.url.protocol.protocol }}</td>
+ <td class="country">{{ country_flag(log.url.country) }}{{ log.url.country.name }}</td>
<td class="wrap">{{ log.error|linebreaksbr }}</td>
<td>{{ log.last_occurred|date('Y-m-d H:i') }}</td>
<td>{{ log.error_count }}</td>
+ <td><a href="{{ log.url.get_absolute_url() }}">details</a></td>
</tr>{% endfor %}
</tbody>
</table>