diff options
author | eliott <eliott@cactuswax.net> | 2008-04-09 19:32:44 -0700 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2008-04-09 19:32:44 -0700 |
commit | 26aea7ab45ecb25dc61f6b046456f239d4277e17 (patch) | |
tree | 7d982e420f2a6ce89e7445f90d0117d9d8b17d6e /templates/packages | |
parent | 3eea31d8f2d5a4213b00eedaabfc75770aeb418f (diff) |
Cleanup from the previous change to the model for Arches and Repos.
Diffstat (limited to 'templates/packages')
-rw-r--r-- | templates/packages/details.html | 4 | ||||
-rw-r--r-- | templates/packages/search.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html index 873609ee..1784ab79 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -33,10 +33,10 @@ <table class="listing"> <tr> <th>Architecture:</th> - <td>{{ pkg.get_arch_display }}</td> + <td>{{ pkg.arch.name }}</td> </tr><tr> <th>Repository:</th> - <td>{{ pkg.get_repo_display|capfirst }}</td> + <td>{{ pkg.repo.name|capfirst }}</td> </tr><tr> <th>Description:</th> <td>{{ pkg.pkgdesc }}</td> diff --git a/templates/packages/search.html b/templates/packages/search.html index 1e8d2659..b58ad07a 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -87,8 +87,8 @@ {% if not user.is_anonymous %} <td><input type="checkbox" name="pkgid" value="{{ pkg.id }}" /></td> {% endif %} - <td>{{ pkg.get_arch_display }}</td> - <td>{{ pkg.get_repo_display|capfirst }}</td> + <td>{{ pkg.arch.name }}</td> + <td>{{ pkg.repo.name|capfirst }}</td> <td><a href="{{ pkg.get_absolute_url }}">{{ pkg.pkgname }}</a></td> {% if pkg.needupdate %} <td><span style="color:red">{{ pkg.pkgver }}-{{ pkg.pkgrel }}</span></td> |