From 7690af78327d6e60746280630e82ae7cccd5cf68 Mon Sep 17 00:00:00 2001 From: DanielSrb Date: Wed, 30 Aug 2023 03:18:46 +0200 Subject: [PATCH] explaining why admins see extra thing --- templates/program/__speaker_detail.html | 9 ++++++--- templates/program/_session_detail.html | 9 ++++++--- templates/sponsors/sponsors_list.html | 4 ++-- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/templates/program/__speaker_detail.html b/templates/program/__speaker_detail.html index d1af757..e67c46a 100644 --- a/templates/program/__speaker_detail.html +++ b/templates/program/__speaker_detail.html @@ -45,9 +45,12 @@

{{ speaker.full_name }}

{% endif %} {{ speaker.bio|markdown }} {% if user.is_staff %} - - Edit speaker in preTALX - +

+ + Edit speaker in preTALX + + you see this because you’re logged in as administrator +

{% endif %} diff --git a/templates/program/_session_detail.html b/templates/program/_session_detail.html index 5d7928b..add1771 100644 --- a/templates/program/_session_detail.html +++ b/templates/program/_session_detail.html @@ -162,9 +162,12 @@

{% if user.is_staff %} - - Edit session in preTALX - +

+ + Edit session in preTALX + + you see this because you’re logged in as administrator +

{% endif %} {% comment %}{% if session.length and 'h' in session.length %}

diff --git a/templates/sponsors/sponsors_list.html b/templates/sponsors/sponsors_list.html index cc1479a..c288434 100644 --- a/templates/sponsors/sponsors_list.html +++ b/templates/sponsors/sponsors_list.html @@ -31,7 +31,7 @@

Sponsors and partners

-

We’re grateful to companies that help us organize PyCon CZ and allow keeping ticket prices as low as possible.

+

We’re grateful to companies that help us organize PyCon CZ and allow keeping ticket prices as low as possible.

@@ -99,7 +99,7 @@

- ℹ️ {{ sponsor.description|markdown|striptags|wordcount }} words + ℹ️ {{ sponsor.description|markdown|striptags|wordcount }} words you see this because you’re logged in as administrator

{% endif %}