From 7dd2c8ea0a0264b86c49f3168dcb41a4337ccc73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Fri, 3 Jun 2011 21:08:08 -0300 Subject: Closed bug #16 --- packages/templatetags/package_extras.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'packages/templatetags') diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py index afa29a7b..d4d0ca1a 100644 --- a/packages/templatetags/package_extras.py +++ b/packages/templatetags/package_extras.py @@ -64,4 +64,15 @@ def bug_report(package): 'title': '[%s]' % package.pkgname, } return "https://bugs.parabolagnulinux.org/bugs/issue?%s" % urlencode(data) + +@register.simple_tag +def flag_unfree(package): + data = { + '@template': 'item', + 'keyword': 'packages,unfree', + 'nosy': 'dev_list', + 'priority': 'critical', + 'title': '[%s] Please put your reasons here (register first if you haven\'t)' % package.pkgname, + } + return "https://bugs.parabolagnulinux.org/bugs/issue?%s" % urlencode(data) # vim: set ts=4 sw=4 et: -- cgit v1.2.3-2-g168b