From 97976a122202019a5019199e19763599f3cb53b4 Mon Sep 17 00:00:00 2001 From: AndrewVSutherland Date: Mon, 12 Aug 2024 12:16:05 -0400 Subject: [PATCH 1/2] add space label to Gamma1 decomposition created on the fly --- lmfdb/classical_modular_forms/web_space.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lmfdb/classical_modular_forms/web_space.py b/lmfdb/classical_modular_forms/web_space.py index d4ce6f9bdd..80434e0140 100644 --- a/lmfdb/classical_modular_forms/web_space.py +++ b/lmfdb/classical_modular_forms/web_space.py @@ -506,6 +506,7 @@ def __init__(self, level, weight): space['level'] = level space['conrey_index'] = char['first'] space['char_orbit_label'] = char['label'].split('.')[-1] + space['label'] = "%s.%s.%s"%(level,weight,space['char_orbit_label']) space['char_degree'] = char['degree'] space['dim'] = newspace_dims_by_label[char['label']] space['generate_link'] = (self.weight == 2) and (space['char_orbit_label'] != 'a') From 1db570ab49c70fd255b5948c9229b14e43f02a5f Mon Sep 17 00:00:00 2001 From: Edgar Costa Date: Mon, 12 Aug 2024 14:41:25 -0400 Subject: [PATCH 2/2] captcha only when not BETA --- lmfdb/templates/base.html | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/lmfdb/templates/base.html b/lmfdb/templates/base.html index 5484f4a9ae..3a66af9ba1 100644 --- a/lmfdb/templates/base.html +++ b/lmfdb/templates/base.html @@ -25,8 +25,11 @@ href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css" integrity="sha384-Nlo8b0yiGl7Dn+BgLn4mxhIIBU6We7aeeiulNCjHdUv/eKHx59s3anfSUjExbDxn" crossorigin="anonymous"> - - + + {% if not BETA %} + + + {% endif %} @@ -182,10 +185,10 @@ {%- if BETA -%} - {%- else -%} - - {%- endif -%} + {%- else -%} + + {%- endif -%} - {% block body -%}{%- endblock body %} - + {% block body -%}{%- endblock body %} +