Cleanup from the previous change to the model for Arches and Repos.

This commit is contained in:
eliott 2008-04-09 19:32:44 -07:00
parent 3eea31d8f2
commit 26aea7ab45
3 changed files with 6 additions and 6 deletions

View File

@ -33,10 +33,10 @@ <h2 class="title">{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2>
<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>

View File

@ -87,8 +87,8 @@ <h4 style="text-align: right">Search Criteria</h4>
{% 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>

View File

@ -48,8 +48,8 @@ <h2 class="title">ToDo List: {{ list.name }}</h2>
{% for pkg in pkgs %}
<tr class="{% cycle even,odd %}">
<td><a href="/packages/{{ pkg.pkg.id }}/">{{ pkg.pkg.id }}</a></td>
<td>{{ pkg.pkg.get_arch_display }}</td>
<td>{{ pkg.pkg.get_repo_display }}</td>
<td>{{ pkg.pkg.arch.name }}</td>
<td>{{ pkg.pkg.repo.name|capfirst }}</td>
<td>{{ pkg.pkg.pkgname }}</td>
<td>{{ pkg.pkg.maintainer.get_full_name|default:"Orphan" }}</td>
<td>