summaryrefslogtreecommitdiffstats
path: root/templates/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-11-27 22:00:49 +0100
committerDan McGee <dan@archlinux.org>2013-11-27 22:00:49 +0100
commite557545ca803fa215b3a7f43f4c421dff1259fe3 (patch)
tree51f215ae84119ac67268ab2d44a5406abba3d2d5 /templates/packages
parentae61d98ed63ce0f5932548b31ce516fc52f05c8d (diff)
downloadarchweb-e557545ca803fa215b3a7f43f4c421dff1259fe3.tar.gz
archweb-e557545ca803fa215b3a7f43f4c421dff1259fe3.tar.xz
Use pkg_details_link tag on differences report page
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/differences.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/packages/differences.html b/templates/packages/differences.html
index f137126..f4d9315 100644
--- a/templates/packages/differences.html
+++ b/templates/packages/differences.html
@@ -1,6 +1,7 @@
{% extends "base.html" %}
{% load cycle from future %}
{% load static from staticfiles %}
+{% load package_extras %}
{% block title %}Arch Linux - Package Differences Reports{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
@@ -78,12 +79,10 @@
<tbody>
{% for pkg1, pkg2 in multilib_differences %}
<tr class="{% cycle 'odd' 'even' %}">
- <td><a href="{{ pkg1.get_absolute_url }}"
- title="View package details for {{ pkg1.pkgname }}">{{ pkg1.pkgname }}</a></td>
+ <td>{% pkg_details_link pkg1 %}</td>
<td><span{% if pkg1.flag_date %} class="flagged"{% endif %}>{{ pkg1.full_version }}</span></td>
<td><span{% if pkg2.flag_date %} class="flagged"{% endif %}>{{ pkg2.full_version }}</span></td>
- <td><a href="{{ pkg2.get_absolute_url }}"
- title="View package details for {{ pkg2.pkgname }}">{{ pkg2.pkgname }}</a></td>
+ <td>{% pkg_details_link pkg2 %}</td>
<td>{{ pkg2.repo }}</td>
<td>{{ pkg1.last_update|date }}</td>
<td>{{ pkg2.last_update|date }}</td>