diff options
-rw-r--r-- | main/context_processors.py | 1 | ||||
-rw-r--r-- | settings.py | 1 | ||||
-rw-r--r-- | templates/base.html | 2 | ||||
-rw-r--r-- | templates/packages/flag.html | 2 | ||||
-rw-r--r-- | templates/packages/flaghelp.html | 2 | ||||
-rw-r--r-- | templates/public/feeds.html | 2 |
6 files changed, 6 insertions, 4 deletions
diff --git a/main/context_processors.py b/main/context_processors.py index d6456a9d..2543a3de 100644 --- a/main/context_processors.py +++ b/main/context_processors.py @@ -10,6 +10,7 @@ def branding(request): 'BRANDING_WIKINAME': settings.BRANDING_WIKINAME, 'BRANDING_EMAIL': settings.BRANDING_EMAIL, 'MAILMAN_BASE_URL': settings.MAILMAN_BASE_URL, + 'BUGTRACKER_URL': settings.BUGTRACKER_URL, } # vim: set ts=4 sw=4 et: diff --git a/settings.py b/settings.py index bc15b0ab..8cde6342 100644 --- a/settings.py +++ b/settings.py @@ -140,6 +140,7 @@ PXEBOOT_URL = 'http://releng.archlinux.org/pxeboot/' SVN_BASE_URL = 'svn://svn.archlinux.org/' MAILMAN_BASE_URL = 'https://mailman.archlinux.org/' +BUGTRACKER_URL = 'https://bugs.archlinux.org/' BRANDING_APPNAME = 'archweb' BRANDING_DISTRONAME = 'Arch Linux' diff --git a/templates/base.html b/templates/base.html index e6553449..f555b83d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -22,7 +22,7 @@ <li id="anb-packages"><a href="/packages/" title="{{ BRANDING_SHORTNAME }} Package Database">Packages</a></li> <li id="anb-forums"><a href="https://bbs.archlinux.org/" title="Community forums">Forums</a></li> <li id="anb-wiki"><a href="{% wiki_url %}" title="Community documentation">Wiki</a></li> - <li id="anb-bugs"><a href="https://bugs.archlinux.org/" title="Report and track bugs">Bugs</a></li> + <li id="anb-bugs"><a href="{{ BUGTRACKER_URL }}" title="Report and track bugs">Bugs</a></li> <li id="anb-aur"><a href="https://aur.archlinux.org/" title="Arch Linux User Repository">AUR</a></li> <li id="anb-download"><a href="{% url 'page-download' as pdl %}{{ pdl }}" title="Get {{ BRANDING_DISTRONAME }}">Download</a></li> </ul> diff --git a/templates/packages/flag.html b/templates/packages/flag.html index 6cd5bedf..063e1d1e 100644 --- a/templates/packages/flag.html +++ b/templates/packages/flag.html @@ -29,7 +29,7 @@ <p><strong>Note:</strong> Do <em>not</em> use this facility if the package is broken! The package will be unflagged and the report will be ignored! - <a href="https://bugs.archlinux.org/" title="{{ BRANDING_DISTRONAME }} Bugtracker">Use the + <a href="{{ BUGTRACKER_URL }}" title="{{ BRANDING_DISTRONAME }} Bugtracker">Use the bugtracker to file a bug</a> instead.</p> <p>Please confirm your flag request for {{package.pkgname}}:</p> diff --git a/templates/packages/flaghelp.html b/templates/packages/flaghelp.html index 01534d8f..fddc1bda 100644 --- a/templates/packages/flaghelp.html +++ b/templates/packages/flaghelp.html @@ -29,7 +29,7 @@ with your additional text.</p> <p><strong>Note:</strong> Please do <em>not</em> use this facility if the - package is broken! Use the <a target="_blank" href="https://bugs.archlinux.org" + package is broken! Use the <a target="_blank" href="{{ BUGTRACKER_URL }}" title="{{ BRANDING_DISTRONAME }} Bugtracker">bugtracker</a> instead.</p> </body> diff --git a/templates/public/feeds.html b/templates/public/feeds.html index f298de7f..91cd9e71 100644 --- a/templates/public/feeds.html +++ b/templates/public/feeds.html @@ -61,7 +61,7 @@ <h3>Development Feeds</h3> <p>Subscribe to any of the following to track bug tickets and feature - requests from the <a href="https://bugs.archlinux.org/" title="Arch Linux Bugs">Arch Linux Bugtracker</a>:</p> + requests from the <a href="{{BUGTRACKER_URL}}" title="{{BRANDING_DISTRONAME}} Bugs">{{BRANDING_DISTRONAME}} Bugtracker</a>:</p> <table class="pretty2"> <thead> |