From 1fabb8023a0350319bcad09914dfe5640dc34e9b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 12 Apr 2012 16:54:01 -0500 Subject: Use commas rather than line breaks for multivalued details items Signed-off-by: Dan McGee --- templates/packages/details.html | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'templates/packages') diff --git a/templates/packages/details.html b/templates/packages/details.html index af67ca4..fb9d9d9 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -86,7 +86,7 @@ {% with pkg.split_packages as splits %}{% if splits %} Split Packages: - {% for s in splits %}{% pkg_details_link s %}
{% endfor %} + {% for s in splits %}{% pkg_details_link s %}{% if not forloop.last %}, {% endif %}{% endfor %} {% endif %}{% endwith %} {% else %} @@ -109,34 +109,33 @@ title="Visit the website for {{ pkg.pkgname }}">{{ pkg.url|url_unquote }}{% endif %} License(s): - {{ pkg.licenses.all|join:", " }} + {{ pkg.licenses.all|join:", " }} {% with pkg.groups.all as groups %}{% if groups %} Groups: - {% for g in groups %} + {% for g in groups %} {{ g.name }}
- {% endfor %} + title="Group details for {{ g.name }}">{{ g.name }}{% if not forloop.last %}, {% endif %}{% endfor %} {% endif %}{% endwith %} {% with pkg.provides.all as provides %}{% if provides %} Provides: - {% for item in provides %}{{ item }}
{% endfor %} + {{ provides|join:", " }} {% endif %}{% endwith %} {% with pkg.conflicts.all as conflicts %}{% if conflicts %} Conflicts: - {% for item in conflicts %}{{ item }}
{% endfor %} + {{ conflicts|join:", " }} {% endif %}{% endwith %} {% with pkg.replaces.all as replaces %}{% if replaces %} Replaces: - {% for item in replaces %}{{ item }}
{% endfor %} + {{ replaces|join:", " }} {% endif %}{% endwith %} -- cgit v1.2.3-24-g4f1b