diff options
author | Dan McGee <dan@archlinux.org> | 2013-12-23 19:03:14 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-12-23 19:03:14 +0100 |
commit | 0e29ce68fc0aa899a7e02954943642381d9531e5 (patch) | |
tree | c58b87ec20f1fc87d72565fe01a89bea876da69e | |
parent | 5eff1ab9bf0c3820c8b90e18efee1dfc773d08fc (diff) | |
download | archweb-0e29ce68fc0aa899a7e02954943642381d9531e5.tar.gz archweb-0e29ce68fc0aa899a7e02954943642381d9531e5.tar.xz |
A few more tweaks to the URL details template
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | templates/mirrors/url_details.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/mirrors/url_details.html b/templates/mirrors/url_details.html index 0b9d291..54960a0 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> |