diff options
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 873609e..1784ab7 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 1e8d265..b58ad07 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> |