From 1699dbee24701cf71d5cb1023d7769c5c8b6d732 Mon Sep 17 00:00:00 2001 From: PyroPeter Date: Sun, 10 Oct 2010 19:30:42 +0200 Subject: [PATCH 5/5] Display information about supported IP-versions Signed-off-by: PyroPeter --- templates/mirrors/mirror_details.html | 2 ++ templates/mirrors/status.html | 8 ++++---- templates/mirrors/status_table.html | 4 ++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html index 90baa75..7274dd5 100644 --- a/templates/mirrors/mirror_details.html +++ b/templates/mirrors/mirror_details.html @@ -47,6 +47,8 @@ {% with mirror.urls.all as urls %} {% if urls %} {% for u in urls %} + {{ u.has_ipv4|yesno:"[IPv4]," }} + {{ u.has_ipv6|yesno:"[IPv6]," }} {{ u.url }}
{% endfor %} {% else %}None{% endif %} diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index 47ba9b7..09a7ca6 100644 --- a/templates/mirrors/status.html +++ b/templates/mirrors/status.html @@ -103,11 +103,11 @@