From ae28e3a0a6a3acc75defc57afbb2430fb21ec5f5 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 9 Nov 2022 19:42:46 -0800 Subject: [PATCH] Add link to /admin on homepage for localhost. --- frontends/etiquette_flask/templates/root.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontends/etiquette_flask/templates/root.html b/frontends/etiquette_flask/templates/root.html index 0b26786..7dcc27f 100644 --- a/frontends/etiquette_flask/templates/root.html +++ b/frontends/etiquette_flask/templates/root.html @@ -76,6 +76,9 @@ body > .nice_link {% else %} Log in {% endif %} + {% if request.is_localhost %} + Admin + {% endif %}