From 5a4ef5136ba4cfbb268870ee92b9f9697e2b9d6f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 11 Jun 2020 14:23:33 +0200 Subject: [PATCH] misc: only display statistics link on homepage --- panikdb/templates/base.html | 1 - panikdb/templates/home.html | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/panikdb/templates/base.html b/panikdb/templates/base.html index ca81f31..6505c64 100644 --- a/panikdb/templates/base.html +++ b/panikdb/templates/base.html @@ -39,7 +39,6 @@ {% block more-user-links %} Accueil - Statistiques {% block online-url %} {% if object and object|online_url %} Voir en ligne diff --git a/panikdb/templates/home.html b/panikdb/templates/home.html index bd68f6c..51574db 100644 --- a/panikdb/templates/home.html +++ b/panikdb/templates/home.html @@ -12,6 +12,7 @@ {% block more-user-links %} {{ block.super }} + Statistiques {% if perms.emissions.add_emission %} Nouvelle émission {% endif %} -- 2.39.2