diff options
Diffstat (limited to 'templates/activities')
-rw-r--r-- | templates/activities/_menu.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/activities/_menu.html b/templates/activities/_menu.html index 6b40197..01f34cd 100644 --- a/templates/activities/_menu.html +++ b/templates/activities/_menu.html @@ -27,9 +27,11 @@ <i class="fa-solid fa-city"></i> Local Posts </a> <h3></h3> - <a href="{% url "signup" %}" {% if current_page == "signup" %}class="selected"{% endif %}> - <i class="fa-solid fa-user-plus"></i> Create Account - </a> + {% if config.signup_allowed %} + <a href="{% url "signup" %}" {% if current_page == "signup" %}class="selected"{% endif %}> + <i class="fa-solid fa-user-plus"></i> Create Account + </a> + {% endif %} {% endif %} </nav> |