summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/context_processors.py1
-rw-r--r--settings.py2
-rw-r--r--templates/base.html2
-rw-r--r--templates/packages/flag.html2
-rw-r--r--templates/packages/flaghelp.html2
-rw-r--r--templates/public/download.html2
-rw-r--r--templates/public/index.html4
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>