From e7610928e2568fffa85481dddc590aa20cf886b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Sat, 30 Jan 2021 11:34:03 +0100 Subject: [PATCH] Remove unused template --- snikket_web/templates/admin_edit_user.html | 32 ---------------------- snikket_web/translations/messages.pot | 29 ++++---------------- 2 files changed, 5 insertions(+), 56 deletions(-) delete mode 100644 snikket_web/templates/admin_edit_user.html diff --git a/snikket_web/templates/admin_edit_user.html b/snikket_web/templates/admin_edit_user.html deleted file mode 100644 index bf05317..0000000 --- a/snikket_web/templates/admin_edit_user.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "admin_app.html" %} -{% block content %} -

{% trans user_name=target_user.localpart %}Edit user {{ user_name }}{% endtrans %}

-
-

{% trans %}User information{% endtrans %}

- {{ form.csrf_token }} -
- {{ form.username.label }} - {{ form.username(readonly="readonly") }} -
-
- {{ form.nickname.label }} - {{ form.nickname(readonly="readonly") }} -
-
- {{ form.email.label }} - {{ form.email(readonly="readonly") }} -
-
- {{ form.phone.label }} - {{ form.phone(readonly="readonly") }} -
- {{ form.action_save(class="primary") }} - -

{% trans %}Password reset{% endtrans %}

-

{% trans %}If the user has forgotten their password, use the below button to create a password reset link. The password reset link can be used once to change the password of the account. Transmit the link to the user via a secure channel.{% endtrans %}

- {{ form.action_create_reset_link(class="secondary accent") }} -

{% trans %}Delete user{% endtrans %}

-

{% trans %}{% endtrans %}

- {{ form.action_create_reset_link(class="secondary accent") }} -
-{% endblock %} diff --git a/snikket_web/translations/messages.pot b/snikket_web/translations/messages.pot index d97b42d..046e7c3 100644 --- a/snikket_web/translations/messages.pot +++ b/snikket_web/translations/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-01-30 11:15+0100\n" +"POT-Creation-Date: 2021-01-30 11:34+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -373,7 +373,6 @@ msgid "Delete user %(user_name)s" msgstr "" #: snikket_web/templates/admin_delete_user.html:6 -#: snikket_web/templates/admin_edit_user.html:28 msgid "Delete user" msgstr "" @@ -518,28 +517,6 @@ msgstr "" msgid "Created" msgstr "" -#: snikket_web/templates/admin_edit_user.html:3 -#, python-format -msgid "Edit user %(user_name)s" -msgstr "" - -#: snikket_web/templates/admin_edit_user.html:5 -msgid "User information" -msgstr "" - -#: snikket_web/templates/admin_edit_user.html:25 -#: snikket_web/templates/admin_reset_user_password.html:8 -msgid "Password reset" -msgstr "" - -#: snikket_web/templates/admin_edit_user.html:26 -msgid "" -"If the user has forgotten their password, use the below button to create " -"a password reset link. The password reset link can be used once to change" -" the password of the account. Transmit the link to the user via a secure " -"channel." -msgstr "" - #: snikket_web/templates/admin_home.html:4 msgid "Welcome to the admin panel!" msgstr "" @@ -611,6 +588,10 @@ msgstr "" msgid "Currently, there are no pending invitations." msgstr "" +#: snikket_web/templates/admin_reset_user_password.html:8 +msgid "Password reset" +msgstr "" + #: snikket_web/templates/admin_reset_user_password.html:12 #, python-format msgid "Password reset link for %(user_name)s"