summaryrefslogtreecommitdiff
path: root/templates/packages/flagged.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-09 23:16:00 -0500
committerDan McGee <dan@archlinux.org>2011-08-09 23:16:00 -0500
commit156b91eb5935df4afdb8f0f0311d36537808c2f5 (patch)
tree2909539c99d6f71c547d8e501f9fa1ba9c424618 /templates/packages/flagged.html
parent21461e78608bb687d7101dd55e72d44cbebf2ff6 (diff)
Use new package details link tag in templates
This replaces a lot of boilerplate we had everywhere, and makes sure things like the title are consistent across all links. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/flagged.html')
-rw-r--r--templates/packages/flagged.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/packages/flagged.html b/templates/packages/flagged.html
index 3a39d178..a99a6924 100644
--- a/templates/packages/flagged.html
+++ b/templates/packages/flagged.html
@@ -1,16 +1,15 @@
{% extends "base.html" %}
+{% load package_extras %}
+
{% block title %}Arch Linux - Flag Package - {{ pkg.pkgname }}{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
<div id="pkg-flagged-error" class="box">
-
<h2>Error: Package already flagged</h2>
<p><strong>{{pkg.pkgname}}</strong> has already been flagged out-of-date.</p>
- <p>You can return to the package details page for
- <a href="{{ pkg.get_absolute_url }}" title="Package details for {{pkg.pkgname}}">{{pkg.pkgname}}</a>.</p>
-
+ <p>You can return to the package details page for {% pkg_details_link pkg %}.</p>
</div>
{% endblock %}