summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-12-23 12:03:14 -0600
committerDan McGee <dan@archlinux.org>2013-12-23 12:03:14 -0600
commit0e29ce68fc0aa899a7e02954943642381d9531e5 (patch)
treec58b87ec20f1fc87d72565fe01a89bea876da69e
parent5eff1ab9bf0c3820c8b90e18efee1dfc773d08fc (diff)
downloadarchweb-0e29ce68fc0aa899a7e02954943642381d9531e5.tar.gz
archweb-0e29ce68fc0aa899a7e02954943642381d9531e5.zip
A few more tweaks to the URL details template
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/mirrors/url_details.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/mirrors/url_details.html b/templates/mirrors/url_details.html
index 0b9d2916..54960a0d 100644
--- a/templates/mirrors/url_details.html
+++ b/templates/mirrors/url_details.html
@@ -15,7 +15,7 @@
<table class="compact">
<tr>
<th>URL:</th>
- <td>{{ url.url }}</td>
+ <td>{% if url.protocol.is_download %}<a href="{{ url.url }}">{{ url.url }}</a>{% else %}{{ url.url }}{% endif %}</td>
</tr>
<tr>
<th>Protocol:</th>
@@ -42,6 +42,14 @@
<th>Created:</th>
<td>{{ url.created }}</td>
</tr>
+ <tr>
+ <th>First Check:</th>
+ <td>{{ url.logs.earliest.check_time }}</td>
+ </tr>
+ <tr>
+ <th>Last Check:</th>
+ <td>{{ url.logs.latest.check_time }}</td>
+ </tr>
{% endif %}
</table>