diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-02 10:58:50 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-02 10:58:50 -0500 |
commit | 747a562ddca10e29dd003e8b3c59f8f384d1bc8d (patch) | |
tree | d74ef2438e305f610a36ecf10b937469bdd6b5eb | |
parent | 53a2a7306d792b2038974e62e94420f6da65af9c (diff) |
fix the bug_link template tag
-rw-r--r-- | main/templatetags/bugs.py | 2 | ||||
-rw-r--r-- | templates/mirrors/mirror_details.html | 1 |
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 %} |