From 73cd4adf9ff2b38124501fba1a7d9800e4c1f0d0 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 9 Dec 2011 09:29:15 -0600 Subject: Add CSS classes to front page package update objects This adds the repo name, 'staging', and 'testing' as appropriate to a classes field on the package updates object. This means we don't have to update the CSS stylesheet to include hardcoded names of repositories (e.g., 'kde-unstable'). Signed-off-by: Dan McGee --- templates/public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/public/index.html b/templates/public/index.html index 4bd26f6..24e6155 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -104,7 +104,7 @@ {% for update in pkg_updates %} - +
{{ update.pkgbase }} {{ update.version }}{{ update.pkgbase }} {{ update.version }} {% for pkg in update.package_links %}{{ pkg.arch }}{% if not forloop.last %}/{% endif %}{% endfor %} -- cgit v1.2.3-24-g4f1b