summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-02 10:59:21 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-02 10:59:21 -0500
commit6e6f3c906c59360c792d3387eb0662f7f0f3eddc (patch)
tree8a3a71bcff9be9f186ce60573840abe2ceac2cb0
parent606d1615e8e22bd3fcf027280a1c1b3d02df47ab (diff)
parent7ccaa7be630e50ce40182d168d41c2f333005443 (diff)
Merge branch 'master-nomake'
-rw-r--r--main/templatetags/bugs.py2
-rw-r--r--templates/mirrors/mirror_details.html1
2 files changed, 2 insertions, 1 deletions
diff --git a/main/templatetags/bugs.py b/main/templatetags/bugs.py
index d5764435..b548859a 100644
--- a/main/templatetags/bugs.py
+++ b/main/templatetags/bugs.py
@@ -3,4 +3,4 @@ register = template.Library()
@register.simple_tag
def bug_link(bugid):
- return "<a href=\"https://bugs.archlinux.org/task/"+bugid+"\">FS#"+bugid+"</a>"
+ return "<a href=\"https://bugs.archlinux.org/task/{0}\">FS#{0}</a>".format(bugid)
diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html
index b75c5316..2ae89880 100644
--- a/templates/mirrors/mirror_details.html
+++ b/templates/mirrors/mirror_details.html
@@ -4,6 +4,7 @@
{% load mirror_status %}
{% load flags %}
{% load admin_urls %}
+{% load bugs %}
{% block title %}{{ BRANDING_DISTRONAME }} - {{ mirror.name }} - Mirror Details{% endblock %}