summaryrefslogtreecommitdiffstats
path: root/templates/activities
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-18 00:09:04 -0700
committerAndrew Godwin2022-11-18 00:09:04 -0700
commit1b44a253316a84f40070264ea8134c86d1223441 (patch)
tree2caa56d54a8e81f14649b826f9f3ef5a7c1326ae /templates/activities
parentb3072c81ba73a16381366960841b6c294cc1fa6e (diff)
downloadtakahe-1b44a253316a84f40070264ea8134c86d1223441.tar.gz
takahe-1b44a253316a84f40070264ea8134c86d1223441.tar.bz2
takahe-1b44a253316a84f40070264ea8134c86d1223441.zip
Signup and invite tweaks
Diffstat (limited to 'templates/activities')
-rw-r--r--templates/activities/_menu.html8
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>