summaryrefslogtreecommitdiff
path: root/main/templatetags/bugs.py
blob: b548859aa9f631b5148f0419ea4534f6a25bd0d4 (plain)
1
2
3
4
5
6
from django import template
register = template.Library()

@register.simple_tag
def bug_link(bugid):
    return "<a href=\"https://bugs.archlinux.org/task/{0}\">FS#{0}</a>".format(bugid)