From 7640082d14af2827ab22caa6dce3575f5112d7cf Mon Sep 17 00:00:00 2001 From: eliott Date: Sat, 22 Mar 2008 19:51:01 -0700 Subject: Refactored the model to remove arch and repo tables. Refactored the model to remove the arch and repo tables. Those data points are now encapsulated in the package table as an ENUM field. Changes to models and templates as needed. --- templates/packages/details.html | 8 +++----- templates/packages/search.html | 10 +++++----- 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'templates/packages') diff --git a/templates/packages/details.html b/templates/packages/details.html index 1435557b..873609ee 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -33,10 +33,10 @@ - + - + @@ -54,7 +54,7 @@
Architecture:{{ pkg.arch.name }}{{ pkg.get_arch_display }}
Repository:{{ pkg.repo.name }}{{ pkg.get_repo_display|capfirst }}
Description: {{ pkg.pkgdesc }}
- - - {% endif %} - - + + {% if pkg.needupdate %} -- cgit v1.2.3-2-g168b
+

Dependencies:

    @@ -62,8 +62,6 @@

Required By:

diff --git a/templates/packages/search.html b/templates/packages/search.html index 309f926d..1e8d2659 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -26,15 +26,15 @@
@@ -87,8 +87,8 @@ {% if not user.is_anonymous %} {{ pkg.arch.name }}{{ pkg.repo.name }}{{ pkg.get_arch_display }}{{ pkg.get_repo_display|capfirst }} {{ pkg.pkgname }}{{ pkg.pkgver }}-{{ pkg.pkgrel }}