Override signup page

This commit is contained in:
Tobias Kunze 2025-03-18 12:53:00 +01:00
parent e06b472d62
commit 7682dc94c7
2 changed files with 17 additions and 1 deletions

View file

@ -11,7 +11,7 @@
</div> </div>
{% endblock %} {% endblock %}
{% block card_content %} {% block card_content %}
<p class="card-text"> <p>
{% blocktranslate trimmed %} {% blocktranslate trimmed %}
You are logged in with your VSHN user account. You will be able to change your password and other settings here in the future. You are logged in with your VSHN user account. You will be able to change your password and other settings here in the future.
{% endblocktranslate %} {% endblocktranslate %}

View file

@ -0,0 +1,16 @@
{% extends "frontend/base.html" %}
{% load i18n %}
{% block html_title %}
{% block page_title %}
{% translate "Sign Up" %}
{% endblock page_title %}
{% endblock html_title %}
{% block card_content %}
<p>
{% blocktrans with provider_name=account.get_provider.name site_name=site.name %}You are about to use your {{provider_name}} account to login to
{{site_name}}. As a final step, please complete the following form:{% endblocktrans %}
</p>
{% url 'socialaccount_signup' as form_action %}
{% translate "Sign Up" as form_submit_label %}
<div style="max-width: 300px">{% include "includes/form.html" %}</div>
{% endblock card_content %}