summaryrefslogtreecommitdiff
path: root/templates/packages/details.html
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2010-12-27 22:36:35 +0000
committerParabola <dev@list.parabolagnulinux.org>2010-12-27 22:36:35 +0000
commitd8fe78f471f2b7821a99f7c2697e0e2ab0a374c1 (patch)
tree69422d8e98375d8c4622071fb20e76b3bffa638b /templates/packages/details.html
parent131023868a582158a4ac461dc2516e19a7fb27c6 (diff)
Various changes, plus licenses are now pointing to the real licenses. (gtklocker)
Diffstat (limited to 'templates/packages/details.html')
-rw-r--r--templates/packages/details.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 1721dc56..f7680593 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -108,7 +108,13 @@
title="Visit the website for {{ pkg.pkgname }}">{{ pkg.url }}</a>{% endif %}</td>
</tr><tr>
<th>License:</th>
- <td>{{ pkg.license }}</td>
+ {% if pkg.license = 'GPL' %}
+ <td><a href="http://www.gnu.org/licenses/gpl.txt">{{ pkg.license }}</a></td>
+ {% else %}{% if pkg.license = 'GPL3' %}
+ <td><a href="http://www.gnu.org/licenses/gpl.txt">{{ pkg.license }}</a></td>
+ {% else %}
+ <td>{{ pkg.license }}</td>
+ {% endif %}
</tr><tr>
<th>Groups:</th>
{% with pkg.packagegroup_set.all as groups %}
@@ -207,6 +213,7 @@
</div><!-- #pkgfiles -->
</div><!-- #metadata -->
+ {% endif %}
{% endcache %}
</div><!-- #pkgdetails -->