Skip to content

Commit

Permalink
Add conditional rendering for registration link in features template …
Browse files Browse the repository at this point in the history
…footer
  • Loading branch information
Maralai committed Dec 28, 2024
1 parent 4e5f486 commit 76da122
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wger/software/templates/features.html
Original file line number Diff line number Diff line change
Expand Up @@ -418,11 +418,13 @@ <h6 class="text-white fw-bold text-center">
<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" %}
Expand Down

0 comments on commit 76da122

Please sign in to comment.