summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-06-03 21:08:08 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-06-03 21:08:08 -0300
commit7dd2c8ea0a0264b86c49f3168dcb41a4337ccc73 (patch)
treee5b2e6e5e599045c9d3e0fce7f8d4bbfe33a9cfa /packages
parent3b23b4424f2bc105cbe1b92394e3b925c53f9a61 (diff)
Closed bug #16
Diffstat (limited to 'packages')
-rw-r--r--packages/templatetags/package_extras.py11
1 files changed, 11 insertions, 0 deletions
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: