mkaeuser setting tighter

This commit is contained in:
Matthias 2021-10-31 13:54:12 +01:00
parent 06822303bc
commit ec17bbcb95
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -38,11 +38,12 @@
</tr> </tr>
</table> </table>
<div class='panel-heading'> <div class="row">
<div class='panel-heading'>
<h4>{% trans "Email" %}</h4> <h4>{% trans "Email" %}</h4>
</div> </div>
<div> <div class="col-md-6">
{% if user.emailaddress_set.all %} {% if user.emailaddress_set.all %}
<p>{% trans 'The following email addresses are associated with your account:' %}</p> <p>{% trans 'The following email addresses are associated with your account:' %}</p>
@ -84,9 +85,10 @@
</p> </p>
{% endif %} {% endif %}
</div>
{% if can_add_email %} {% if can_add_email %}
<br> <div class="col-md-6">
<h5>{% trans "Add Email Address" %}</h5> <h5>{% trans "Add Email Address" %}</h5>
<form method="post" action="{% url 'account_email' %}" class="add_email"> <form method="post" action="{% url 'account_email' %}" class="add_email">
@ -94,15 +96,16 @@
{{ add_email_form|crispy }} {{ add_email_form|crispy }}
<button class="btn btn-primary" name="action_add" type="submit">{% trans "Add Email" %}</button> <button class="btn btn-primary" name="action_add" type="submit">{% trans "Add Email" %}</button>
</form> </form>
</div>
{% endif %} {% endif %}
<br>
</div> </div>
<div class='panel-heading'> <div class="row">
<div class='panel-heading'>
<h4>{% trans "Social Accounts" %}</h4> <h4>{% trans "Social Accounts" %}</h4>
</div> </div>
<div> <div class="col-md-6">
{% if social_form.accounts %} {% if social_form.accounts %}
<p>{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}</p> <p>{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}</p>
@ -141,23 +144,22 @@
{% else %} {% else %}
<p>{% trans 'You currently have no social network accounts connected to this account.' %}</p> <p>{% trans 'You currently have no social network accounts connected to this account.' %}</p>
{% endif %} {% endif %}
</div>
<br> <div class="col-md-6">
<h4>{% trans 'Add a 3rd Party Account' %}</h4> <h5>{% trans 'Add a 3rd Party Account' %}</h5>
<div> <div>
{% include "socialaccount/snippets/provider_list.html" with process="connect" %} {% include "socialaccount/snippets/provider_list.html" with process="connect" %}
</div> </div>
{% include "socialaccount/snippets/login_extra.html" %} {% include "socialaccount/snippets/login_extra.html" %}
<br> </div>
</div> </div>
<div class='panel-heading'>
<h4>{% trans "Theme Settings" %}</h4>
</div>
<div class='row'> <div class='row'>
<div class='panel-heading'>
<h4>{% trans "Theme Settings" %}</h4>
</div>
<form action='{% url "settings-appearance" %}' method='post'> <form action='{% url "settings-appearance" %}' method='post'>
{% csrf_token %} {% csrf_token %}
@ -181,11 +183,11 @@
</div> </div>
<div class='panel-heading'>
<h4>{% trans "Language Settings" %}</h4>
</div>
<div class="row"> <div class="row">
<div class='panel-heading'>
<h4>{% trans "Language Settings" %}</h4>
</div>
<div class="col"> <div class="col">
<form action="{% url 'set_language' %}" method="post"> <form action="{% url 'set_language' %}" method="post">
{% csrf_token %} {% csrf_token %}