Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add conditional rendering for registration link in features template footer
Matthew Harrison76da1228d9b8
diff --git a/wger/software/templates/features.html b/wger/software/templates/features.htmlindex 6b2655bf3..bf5cf6255 100644--- a/wger/software/templates/features.html+++ b/wger/software/templates/features.html@@ -418,11 +418,13 @@<li class="list-group-item bg-transparent border-0 text-light ps-0"><h1 class="fs-5 text-white">{% translate "Account" %}</h1></li>+ {% if allow_registration %}<li class="list-group-item bg-transparent border-0 text-light fw-lighter ps-0"><a href="{% url 'core:user:registration' %}">{% translate "Register" %}</a></li>+ {% endif %}<li class="list-group-item bg-transparent border-0 text-light fw-lighter ps-0"><a href="{% url 'core:user:login' %}">{% translate "Login" %}