From 5d74a99c6b8fbbd19ad441a74d835382025da522 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 14 Dec 2013 11:38:20 -0600 Subject: Don't list downstream mirrors one per line This looks really crazy on our current Tier 1 mirrors, as some of them have tons of downstream mirrors. Instead, do what we did on the package details page and allow wrapping of the comma-separated list. Signed-off-by: Dan McGee --- templates/mirrors/mirror_details.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'templates/mirrors/mirror_details.html') diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html index 3770eae5..aa0a9648 100644 --- a/templates/mirrors/mirror_details.html +++ b/templates/mirrors/mirror_details.html @@ -71,14 +71,13 @@

Mirror Details: {{ mirror.name }}

Downstream: {% with mirror.downstream as ds_mirrors %} - {% if ds_mirrors %} + {% if ds_mirrors %} {% for ds in ds_mirrors %} {{ ds.name }} - {% if not ds.active %}(inactive){% endif %} - {% if not ds.public %}(private){% endif %} -
- {% endfor %} + title="Mirror details for {{ ds.name }}">{{ ds.name }}{% comment %} + {% endcomment %}{% if not ds.active %} (inactive){% endif %}{% comment %} + {% endcomment %}{% if not ds.public %} (private){% endif %}{% comment %} + {% endcomment %}{% if not forloop.last %}, {% endif %}{% endfor %} {% else %}None{% endif %} {% endwith %} -- cgit v1.2.3-54-g00ecf