summaryrefslogtreecommitdiff
path: root/templates/packages/details.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-02-07 13:45:05 -0600
committerDan McGee <dan@archlinux.org>2011-02-15 13:51:11 -0600
commit4444f25d5cd9a9e1cb310a2d9c0b6b1ec1f55789 (patch)
tree8d1cff4d938f317cb1d09a872ce6fba91b7a3124 /templates/packages/details.html
parent30756f13efccef1e3b2cdbf9ac9855abc77b065c (diff)
Move license to a related model
This allows us to store multiple licenses per package in a more elegant fashion, and will later allow us to search and filter on this information. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details.html')
-rw-r--r--templates/packages/details.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index de6b637f..14b657e3 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -108,8 +108,8 @@
<td>{% if pkg.url %}<a href="{{ pkg.url }}"
title="Visit the website for {{ pkg.pkgname }}">{{ pkg.url }}</a>{% endif %}</td>
</tr><tr>
- <th>License:</th>
- <td>{{ pkg.license }}</td>
+ <th>License(s):</th>
+ <td>{{ pkg.licenses.all|join:", " }}</td>
</tr><tr>
<th>Groups:</th>
{% with pkg.groups.all as groups %}