summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-08-26 17:02:35 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-08-26 17:02:35 -0500
commita3a2078b1b70daa465cdab1832f722ce67d2ed56 (patch)
tree326cbd81bdc4b3b0ff3682793f87a15213ea1658 /packages
parent46b9cd7b02add71968c16e5210b175d02c0aacef (diff)
Fix links related to issue #369
Diffstat (limited to 'packages')
-rw-r--r--packages/templatetags/package_extras.py18
1 files changed, 15 insertions, 3 deletions
diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py
index 191b9920..20c127c1 100644
--- a/packages/templatetags/package_extras.py
+++ b/packages/templatetags/package_extras.py
@@ -126,7 +126,11 @@ def get_wiki_link(package):
@register.simple_tag
def bugs_list(package):
- url = "https://labs.parabola.nu/search/index/issue-tracker"
+ url = "https://labs.parabola.nu/search/index/"
+ if package.arch.name == 'mips64el':
+ url = url + "mips64el"
+ else:
+ url = url + "issue-tracker"
data = {
'titles_only': '1',
'issues': '1',
@@ -137,7 +141,11 @@ def bugs_list(package):
@register.simple_tag
def bug_report(package):
- url = "https://labs.parabola.nu/projects/issue-tracker/issues/new"
+ url = "https://labs.parabola.nu/projects/"
+ if package.arch.name == 'mips64el':
+ url = url + "mips64el/issues/new"
+ else:
+ url = url + "issue-tracker/issues/new"
data = {
'issue[subject]': '[%s] PLEASE ENTER SUMMARY' % package.pkgname,
}
@@ -145,7 +153,11 @@ def bug_report(package):
@register.simple_tag
def flag_unfree(package):
- url = "https://labs.parabola.nu/projects/issue-tracker/issues/new"
+ url = "https://labs.parabola.nu/projects/"
+ if package.arch.name == 'mips64el':
+ url = url + "mips64el/issues/new"
+ else:
+ url = url + "issue-tracker/issues/new"
data = {
'issue[priority_id]': '1', # "freedom issue"
'issue[watcher_user_ids][]': '62', # "dev-list"