summaryrefslogtreecommitdiffstats
path: root/templates/packages/details.html
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-03-22 19:51:01 -0700
committereliott <eliott@cactuswax.net>2008-03-22 19:51:01 -0700
commit7640082d14af2827ab22caa6dce3575f5112d7cf (patch)
tree6fb40e5c0dc734f5646166708b1e39ab5c30859d /templates/packages/details.html
parent37361f664f5092d5f4cc7bb2a20e1e86cbbf558d (diff)
downloadarchweb-7640082d14af2827ab22caa6dce3575f5112d7cf.tar.gz
archweb-7640082d14af2827ab22caa6dce3575f5112d7cf.zip
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.
Diffstat (limited to 'templates/packages/details.html')
-rw-r--r--templates/packages/details.html8
1 files changed, 3 insertions, 5 deletions
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 @@
<table class="listing">
<tr>
<th>Architecture:</th>
- <td>{{ pkg.arch.name }}</td>
+ <td>{{ pkg.get_arch_display }}</td>
</tr><tr>
<th>Repository:</th>
- <td>{{ pkg.repo.name }}</td>
+ <td>{{ pkg.get_repo_display|capfirst }}</td>
</tr><tr>
<th>Description:</th>
<td>{{ pkg.pkgdesc }}</td>
@@ -54,7 +54,7 @@
<br />
<table width="100%">
<tr>
- <td valign="top">
+ <td valign="top" width="50%">
<div class="listing">
<h4>Dependencies:</h4>
<ul style="font-size:small;list-style:none">
@@ -62,8 +62,6 @@
</ul>
</div>
</td>
- </tr>
- <tr>
<td valign="top">
<div class="listing">
<h4>Required By:</h4>