diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-05-21 09:40:09 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-05-21 09:40:09 +0300 |
commit | 9ae9ca9ec39b20f6c680308e5171191cfb83c185 (patch) | |
tree | dbfa1b2cca851040a73cdf3fb727639cfef49c76 /templates | |
parent | 06f9de360a785ab7cf50a7c837ab244dd406bdbc (diff) | |
download | troggle-9ae9ca9ec39b20f6c680308e5171191cfb83c185.tar.gz troggle-9ae9ca9ec39b20f6c680308e5171191cfb83c185.tar.bz2 troggle-9ae9ca9ec39b20f6c680308e5171191cfb83c185.zip |
notice inserted if ADMIN, not fully implemented
Diffstat (limited to 'templates')
-rw-r--r-- | templates/login/register.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/login/register.html b/templates/login/register.html index 07ae34b..e025879 100644 --- a/templates/login/register.html +++ b/templates/login/register.html @@ -4,7 +4,7 @@ <!-- this overrides the django.contrib.auth default form and it must be placed in troggle/templates/login/register.html -because magic +because magic. This is because Django is Opinionated and does lots of Invisible Defaults see @@ -49,6 +49,9 @@ User Registration - for a personal login to Troggle by a known caver ALSO it behaves differently if a username is specified in the URL, when username becomes readonly --> +<span style="color:red; font-weight: bold;"> +{{ admin_notice }} +</span> <h3>Register your email address</h3> {% if newuser %} |