summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/registration/login.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-07-07 16:44:48 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-07-07 16:50:43 +0200
commit44331719a2adb1f5469020525607741342ddacfa (patch)
tree331b1c96972725063fc8e4aa3008d460db15fa19 /ishtar_common/templates/registration/login.html
parent094fe62c11afbfbb87af0c320935f816ef8a758e (diff)
downloadIshtar-44331719a2adb1f5469020525607741342ddacfa.tar.bz2
Ishtar-44331719a2adb1f5469020525607741342ddacfa.zip
💄 open registration form: disabled by default - improve layout
Diffstat (limited to 'ishtar_common/templates/registration/login.html')
-rw-r--r--ishtar_common/templates/registration/login.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/ishtar_common/templates/registration/login.html b/ishtar_common/templates/registration/login.html
index adefb3176..de7c28317 100644
--- a/ishtar_common/templates/registration/login.html
+++ b/ishtar_common/templates/registration/login.html
@@ -35,8 +35,10 @@
<hr/>
<div class="row justify-content-center">
<div class="col-md-6">
- <small class="text-secondary">{% trans "Forgot password?" %} <a href="{% url 'password_reset' %}">{% trans "Reset it" %}</a> &ndash;
- {% trans "Not member?" %} <a href="{% url 'registration_register' %}">{% trans "Register" %}</a></small>
+ <small class="text-secondary">{% trans "Forgot password?" %} <a href="{% url 'password_reset' %}">{% trans "Reset it" %}</a>
+ {% if registration_open %}&ndash;
+ {% trans "Not member?" %} <a href="{% url 'registration_register' %}">{% trans "Register" %}</a>
+ {% endif %}</small>
</div>
</div>
{% endblock %}