diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-20 00:24:29 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-20 00:24:29 -0400 |
commit | 55b52a92806e4e76b1db17178f323362e3ddfe09 (patch) | |
tree | 3748287d1801abd6d95825225cfac60d67160e4c | |
parent | ae9ee14ff153698dd90c6560437e42ff124a6d0b (diff) |
add MAILMAN_BASE_URL to abstract mailing list links
-rw-r--r-- | main/context_processors.py | 1 | ||||
-rw-r--r-- | settings.py | 2 | ||||
-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/download.html | 2 | ||||
-rw-r--r-- | templates/public/index.html | 4 |
7 files changed, 9 insertions, 6 deletions
diff --git a/main/context_processors.py b/main/context_processors.py index 5ac31744..d6456a9d 100644 --- a/main/context_processors.py +++ b/main/context_processors.py @@ -9,6 +9,7 @@ def branding(request): 'BRANDING_SHORTNAME': settings.BRANDING_SHORTNAME, 'BRANDING_WIKINAME': settings.BRANDING_WIKINAME, 'BRANDING_EMAIL': settings.BRANDING_EMAIL, + 'MAILMAN_BASE_URL': settings.MAILMAN_BASE_URL, } # vim: set ts=4 sw=4 et: diff --git a/settings.py b/settings.py index 09f2df9c..ba9560f7 100644 --- a/settings.py +++ b/settings.py @@ -139,6 +139,8 @@ PXEBOOT_URL = 'http://releng.archlinux.org/pxeboot/' # community bit on the end, repo.svn_root is appended) SVN_BASE_URL = 'svn://svn.archlinux.org/' +MAILMAN_BASE_URL = 'https://mailman.archlinux.org/mailman' + BRANDING_APPNAME = 'archweb' BRANDING_DISTRONAME = 'Arch Linux' BRANDING_SHORTNAME = 'Arch' diff --git a/templates/base.html b/templates/base.html index 2b3aed66..bc4db84f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -39,7 +39,7 @@ <li><a href="/packages/signoffs/" title="Package signoffs">Signoffs</a></li> <li><a href="/todo/" title="Developer todo lists">Todos</a></li> <li><a href="{% url 'devel-clocks' %}" title="Developer world clocks">Dev Clocks</a></li> - <li><a href="https://mailman.archlinux.org/mailman/private/arch-dev/" + <li><a href="{{ MAILMAN_BASE_URL }}/private/arch-dev/" title="arch-dev mailing list archives">Archives</a></li> <li><a href="/mirrors/" title="Mirror server statistics">Mirrors</a></li> <li><a href="https://stats.archlinux.org/munin/" diff --git a/templates/packages/flag.html b/templates/packages/flag.html index d7b86dde..2b492d45 100644 --- a/templates/packages/flag.html +++ b/templates/packages/flag.html @@ -23,7 +23,7 @@ <p>The message box portion of the flag utility is optional, and meant for short messages only. If you need more than 200 characters for your message, then file a bug report, email the maintainer directly, or send - an email to the <a href="https://mailman.archlinux.org/mailman/listinfo/arch-general" + an email to the <a href="{{ MAILMAN_BASE_URL }}/listinfo/arch-general" title="Visit the arch-general mailing list">arch-general mailing list</a> with your additional text.</p> diff --git a/templates/packages/flaghelp.html b/templates/packages/flaghelp.html index 9080f611..e2d67e06 100644 --- a/templates/packages/flaghelp.html +++ b/templates/packages/flaghelp.html @@ -24,7 +24,7 @@ <p>The message box portion of the flag utility is optional, and meant for short messages only. If you need more than 200 characters for your message, then file a bug report, email the maintainer directly, or send - an email to the <a target="_blank" href="https://mailman.archlinux.org/mailman/listinfo/arch-general" + an email to the <a target="_blank" href="{{ MAILMAN_BASE_URL }}/listinfo/arch-general" title="Visit the arch-general mailing list">arch-general mailing list</a> with your additional text.</p> diff --git a/templates/public/download.html b/templates/public/download.html index 72d21736..f473915a 100644 --- a/templates/public/download.html +++ b/templates/public/download.html @@ -27,7 +27,7 @@ <ul> <li><a href="https://bugs.archlinux.org/index.php?project=6" title="Arch Linux Bugtracker:Release Engineering">Bug Tracker</a></li> - <li><a href="https://mailman.archlinux.org/mailman/listinfo/arch-releng" + <li><a href="{{ MAILMAN_BASE_URL }}/listinfo/arch-releng" title="Arch Linux Release Engineering mailing list">Mailing List</a></li> </ul> </li> diff --git a/templates/public/index.html b/templates/public/index.html index 7c22c251..aeeff175 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -27,7 +27,7 @@ <p>Our strong community is diverse and helpful, and we pride ourselves on the range of skillsets and uses for Arch that stem from it. Please check out our <a href="https://bbs.archlinux.org/" title="Arch Forums">forums</a> - and <a href="https://mailman.archlinux.org/mailman/listinfo/" + and <a href="{{ MAILMAN_BASE_URL }}/listinfo/" title="Arch Mailing Lists">mailing lists</a> to get your feet wet. Also glance through our <a href="{% wiki_url %}" title="{{BRANDING_WIKINAME}}">wiki</a> @@ -127,7 +127,7 @@ <h4>Community</h4> <ul> - <li><a href="https://mailman.archlinux.org/mailman/listinfo/" + <li><a href="{{ MAILMAN_BASE_URL }}/listinfo/" title="Community and developer mailing lists">Mailing Lists</a></li> <li><a href="{% wiki_url 'IRC_Channels' %}" title="Official and regional IRC communities">IRC Channels</a></li> |