From e39760590fe3e30a5ad6c7645fe5f9d320ba8df3 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 28 Jan 2025 20:41:06 +0000 Subject: [PATCH] fix bogus check on readonly field --- core/views/expo.py | 2 +- templates/troggletoolbar.html | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/core/views/expo.py b/core/views/expo.py index 4c1ce63f6..e6df44f96 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -553,7 +553,7 @@ class ExpoPageForm(forms.Form): "style": "vertical-align: text-top;"} ) ) - identified_login = forms.BooleanField(widget=forms.CheckboxInput(attrs={"onclick":"return false"})) # make it readonly + identified_login = forms.BooleanField(required=False,widget=forms.CheckboxInput(attrs={"onclick":"return false"})) # makes it readonly who_are_you = forms.CharField( widget=forms.Textarea( diff --git a/templates/troggletoolbar.html b/templates/troggletoolbar.html index 24d525411..78e7d1576 100644 --- a/templates/troggletoolbar.html +++ b/templates/troggletoolbar.html @@ -5,6 +5,8 @@ background-color:#9ff; text-align:center; font-weight:bold; + {% if troggle %}font-size:80%; {% endif %} + } .toolbarlinkslocal { @@ -12,6 +14,7 @@ background-color:#f9f; text-align:center; font-weight:bold; + {% if troggle %}font-size:80%; {% endif %} } {% if settings.DEVSERVER %} @@ -31,7 +34,7 @@ Upload Photos | Upload GPX | -
+
Data Issues | tasks to do | @@ -42,6 +45,6 @@ Wild Survex({{current_year}}) | Wallets({{current_year}}) | Expo({{current_year}}) | - Control panel | + Control panel \ No newline at end of file