summaryrefslogtreecommitdiffstats
path: root/templates/packages/details.html
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-07-05 20:28:29 -0400
committerDusty Phillips <buchuki@gmail.com>2008-07-05 20:55:58 -0400
commit91b3ddd47f15851cd1686adbf9181fc46b9730a3 (patch)
tree6106296094b5b2552700ea8c07e84f015ed45f4c /templates/packages/details.html
parentb8221328c8de2dd2c673d4b0fd9a89d6d164d1d4 (diff)
downloadarchweb-91b3ddd47f15851cd1686adbf9181fc46b9730a3.tar.gz
archweb-91b3ddd47f15851cd1686adbf9181fc46b9730a3.zip
#10213 make package urls be pretty cool, if not awesome
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 c3b214e0..b115de87 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -57,7 +57,7 @@
{% ifequal depend.pkg None %}
<li>{{ depend.dep.depname }} (virtual)</li>
{% else %}
- <li><a href="/packages/{{ depend.pkg.id }}/">{{ depend.dep.depname }}</a>{{ depend.dep.depvcmp }}</li>
+ <li><a href="{{ depend.pkg.get_absolute_url }}">{{ depend.dep.depname }}</a>{{ depend.dep.depvcmp }}</li>
{% endifequal %}
{% endfor %}
</ul>
@@ -68,7 +68,7 @@
<h4>Required By:</h4>
<ul style="font-size:small;list-style:none">
{% for req in pkg.get_requiredby %}
- <li><a href="/packages/{{ req.id }}/">{{ req.pkgname }}{% ifequal req.repo.name "Testing" %} (testing){% endifequal %}{% ifequal req.repo.name "Unstable" %} (unstable){% endifequal %}</a></li>
+ <li><a href="{{req.get_absolute_url}}">{{ req.pkgname }}{% ifequal req.repo.name "Testing" %} (testing){% endifequal %}{% ifequal req.repo.name "Unstable" %} (unstable){% endifequal %}</a></li>
{% endfor %}
</ul>
</div>