diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/context_processors.py | 6 | ||||
-rw-r--r-- | main/fixtures/arches.json | 16 | ||||
-rw-r--r-- | main/fixtures/groups.json | 2 | ||||
-rw-r--r-- | main/fixtures/repos.json | 20 | ||||
-rw-r--r-- | main/templatetags/wiki.py | 4 |
5 files changed, 43 insertions, 5 deletions
diff --git a/main/context_processors.py b/main/context_processors.py index 2543a3de..94e83e72 100644 --- a/main/context_processors.py +++ b/main/context_processors.py @@ -4,13 +4,15 @@ def secure(request): def branding(request): from django.conf import settings return { + 'MAILMAN_BASE_URL': settings.MAILMAN_BASE_URL, + 'BUGTRACKER_URL': settings.BUGTRACKER_URL, + 'BRANDING_APPNAME': settings.BRANDING_APPNAME, 'BRANDING_DISTRONAME': settings.BRANDING_DISTRONAME, 'BRANDING_SHORTNAME': settings.BRANDING_SHORTNAME, 'BRANDING_WIKINAME': settings.BRANDING_WIKINAME, 'BRANDING_EMAIL': settings.BRANDING_EMAIL, - 'MAILMAN_BASE_URL': settings.MAILMAN_BASE_URL, - 'BUGTRACKER_URL': settings.BUGTRACKER_URL, + 'BRANDING_OSEARCH_TAGS': settings.BRANDING_OSEARCH_TAGS, } # vim: set ts=4 sw=4 et: diff --git a/main/fixtures/arches.json b/main/fixtures/arches.json index 6334c2d3..f7e7fdc0 100644 --- a/main/fixtures/arches.json +++ b/main/fixtures/arches.json @@ -22,5 +22,21 @@ "agnostic": false, "name": "x86_64" } + }, + { + "pk": 4, + "model": "main.arch", + "fields": { + "agnostic": false, + "name": "mips64el" + } + }, + { + "pk": 5, + "model": "main.arch", + "fields": { + "agnostic": false, + "name": "i586" + } } ] diff --git a/main/fixtures/groups.json b/main/fixtures/groups.json index 134b98b3..c309095e 100644 --- a/main/fixtures/groups.json +++ b/main/fixtures/groups.json @@ -3,7 +3,7 @@ "pk": 1, "model": "auth.group", "fields": { - "name": "Developers", + "name": "Hackers", "permissions": [ [ "change_package", diff --git a/main/fixtures/repos.json b/main/fixtures/repos.json index a6f564b7..655be64a 100644 --- a/main/fixtures/repos.json +++ b/main/fixtures/repos.json @@ -142,5 +142,25 @@ "svn_root": "packages", "testing": true } + }, + { + "pk": 10, + "model": "main.repo", + "fields": { + "svn_root": "", + "testing": true, + "name": "Libre-Testing", + "bugs_project": 0 + } + }, + { + "pk": 11, + "model": "main.repo", + "fields": { + "svn_root": "", + "testing": false, + "name": "Libre", + "bugs_project": 0 + } } ] diff --git a/main/templatetags/wiki.py b/main/templatetags/wiki.py index b1b8dd55..4a3b2f83 100644 --- a/main/templatetags/wiki.py +++ b/main/templatetags/wiki.py @@ -4,6 +4,6 @@ register = template.Library() @register.simple_tag def wiki_url(article=""): if article == "": - return "https://wiki.archlinux.org/" + return "https://wiki.parabolagnulinux.org/" else: - return "https://wiki.archlinux.org/index.php/"+article.replace(' ', '_') + return "https://wiki.parabolagnulinux.org/"+article.replace(' ', '_') |