summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/registration/login.html
diff options
context:
space:
mode:
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 %}