From ad33813bc14621911ea057b0143493a99048f4cb Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 17 Apr 2010 11:10:26 -0500 Subject: Improve front page recent updates list Instead of linking the package name, link the architecture. This will prevent the lost links we had when we collapsed the list to show multiple architectures at the same time. Signed-off-by: Dan McGee --- templates/public/index.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'templates/public/index.html') diff --git a/templates/public/index.html b/templates/public/index.html index 9d05d139..cd2b6b2a 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -57,11 +57,15 @@

Recent Updates

RSS Feed - {% for pkg in pkg_updates %} + {% for update in pkg_updates %} + {% with update|first as fpkg %} - {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }} - {{ pkg.allarches }} + {{ fpkg.pkgname }} {{ fpkg.pkgver }}-{{ fpkg.pkgrel }} + + {% for pkg in update %}{{ pkg.arch }}{% if not forloop.last %}/{% endif %}{% endfor %} + + {% endwith %} {% endfor %}
More Feeds... -- cgit v1.2.3