summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2017-06-29 17:04:29 +0200
committerJelle van der Waa <jelle@vdwaa.nl>2017-07-01 16:54:12 +0200
commit1f61f06ea876a9c7d974ee8ab8fa48b1e16f2b85 (patch)
treec0b2eabc0447f4498adfc3228673d4e17d8e4c23 /templates
parent3fa3f9e67f6e800910ae78222176d1cec50c3bcd (diff)
downloadarchweb-1f61f06ea876a9c7d974ee8ab8fa48b1e16f2b85.tar.gz
archweb-1f61f06ea876a9c7d974ee8ab8fa48b1e16f2b85.zip
Filter arch-dev mailing list for non-devs
Hide the arch-dev mailing list archives for non developers.
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index 1fa63ad5..0a1ea01d 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,4 +1,5 @@
{% load static from staticfiles %}<!DOCTYPE html>
+{% load group %}
<html lang="en">
<head>
<meta charset="utf-8" />
@@ -40,8 +41,10 @@
<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>
+ {% if user|in_group:'Developers' %}
<li><a href="https://mailman.archlinux.org/mailman/private/arch-dev/"
title="arch-dev mailing list archives">Archives</a></li>
+ {% endif %}
<li><a href="https://zabbix.archlinux.org/"
title="Arch server monitoring">Server Monitoring</a></li>
{% if user.is_staff %}