From 1b44a253316a84f40070264ea8134c86d1223441 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Fri, 18 Nov 2022 00:09:04 -0700 Subject: Signup and invite tweaks --- templates/activities/_menu.html | 8 +++++--- templates/admin/invites.html | 9 +++++++++ templates/auth/signup.html | 1 + templates/emails/account_new.txt | 8 ++++++++ templates/emails/new_account.txt | 8 -------- templates/settings/_menu.html | 3 +++ 6 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 templates/admin/invites.html create mode 100644 templates/emails/account_new.txt delete mode 100644 templates/emails/new_account.txt (limited to 'templates') 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 @@ Local Posts
- - Create Account - + {% if config.signup_allowed %} + + Create Account + + {% endif %} {% endif %} diff --git a/templates/admin/invites.html b/templates/admin/invites.html new file mode 100644 index 0000000..14e05f3 --- /dev/null +++ b/templates/admin/invites.html @@ -0,0 +1,9 @@ +{% extends "settings/base.html" %} + +{% block subtitle %}Invites{% endblock %} + +{% block content %} ++ Please use the Django Admin for now. +
+{% endblock %} diff --git a/templates/auth/signup.html b/templates/auth/signup.html index d519476..b1aaa50 100644 --- a/templates/auth/signup.html +++ b/templates/auth/signup.html @@ -7,6 +7,7 @@ {% csrf_token %}