diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-22 20:08:58 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-22 20:08:58 -0500 |
commit | d3c35bc608b6eaf299e66146e1aab76d43b69211 (patch) | |
tree | 8247379f7a68391a4a5db7f8f7a80756ee7b9f87 /templates/packages/differences.html | |
parent | b2b6c78e3179cef66cd4e9dcea7f9003f409ce8b (diff) | |
parent | 9adc2e53124daa6d13090166830396ffff9013d3 (diff) |
Merge tag 'release_2013-11-30' into archweb-generic
End of month release, perf fixes
Diffstat (limited to 'templates/packages/differences.html')
-rw-r--r-- | templates/packages/differences.html | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/templates/packages/differences.html b/templates/packages/differences.html index d70b4209..bde05a50 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 %}{{ BRANDING_DISTRONAME }} - Package Differences Reports{% endblock %} {% block navbarclass %}anb-packages{% endblock %} @@ -45,14 +46,10 @@ <td>{{ diff.pkgname }}</td> <td>{{ diff.repo.name }}</td> {% if diff.pkg_a %} - <td><a href="{{ diff.pkg_a.get_absolute_url }}" - title="View package details for {{ diff.pkg_a.pkgname }}"> - <span{% if diff.pkg_a.flag_date %} class="flagged"{% endif %}>{{ diff.pkg_a.full_version }}</span></a></td> + <td>{% pkg_details_link diff.pkg_a diff.pkg_a.full_version True %}</td> {% else %}<td>-</td>{% endif %} {% if diff.pkg_b %} - <td><a href="{{ diff.pkg_b.get_absolute_url }}" - title="View package details for {{ diff.pkg_b.pkgname }}"> - <span{% if diff.pkg_b.flag_date %} class="flagged"{% endif %}>{{ diff.pkg_b.full_version }}</span></a></td> + <td>{% pkg_details_link diff.pkg_b diff.pkg_b.full_version True %}</td> {% else %}<td>-</td>{% endif %} </tr> {% endfor %} @@ -78,12 +75,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> |