feat: Restructure user page
This commit is contained in:
parent
5a4720c41c
commit
999c1a81b8
@ -4,12 +4,27 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{{ user.get_full_name }}</h1>
|
<h1>{{ user.get_full_name }}</h1>
|
||||||
|
|
||||||
|
<div class="container-cards">
|
||||||
|
<div class="card">
|
||||||
<p><strong>{% translate "Username" %}:</strong> {{ user.username }}</p>
|
<p><strong>{% translate "Username" %}:</strong> {{ user.username }}</p>
|
||||||
<p><strong>{% translate "E-Mail" %}:</strong> {{ user.email }}</p>
|
<p><strong>{% translate "E-Mail" %}:</strong> {{ user.email }}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<h2>{% trans 'Profil verwalten' %}</h2>
|
||||||
|
<div class="container-cards">
|
||||||
|
<div class="container-comment-form">
|
||||||
|
<p>
|
||||||
|
<a class="btn2" href="{% url 'password_change' %}">{% translate "Change password" %}</a>
|
||||||
|
<a class="btn2" href="{% url 'user-me-export' %}">{% translate "Daten exportieren" %}</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% if user.id is request.user.id %}
|
{% if user.id is request.user.id %}
|
||||||
|
<div class="detail-animal-header"><h2>{% trans 'Einstellungen' %}</h2></div>
|
||||||
<div class="container-cards">
|
<div class="container-cards">
|
||||||
<div class="detail-animal-header"><h1>{% trans 'Einstellungen' %}</h1></div>
|
|
||||||
<form class="card" action="" method="POST">
|
<form class="card" action="" method="POST">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% if user.email_notifications %}
|
{% if user.email_notifications %}
|
||||||
@ -49,13 +64,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container-comment-form">
|
|
||||||
<h2>{% trans 'Profil verwalten' %}</h2>
|
|
||||||
<p>
|
|
||||||
<a class="btn2" href="{% url 'password_change' %}">{% translate "Change password" %}</a>
|
|
||||||
<a class="btn2" href="{% url 'user-me-export' %}">{% translate "Daten exportieren" %}</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<h2>{% translate 'Benachrichtigungen' %}</h2>
|
<h2>{% translate 'Benachrichtigungen' %}</h2>
|
||||||
{% include "fellchensammlung/lists/list-notifications.html" %}
|
{% include "fellchensammlung/lists/list-notifications.html" %}
|
||||||
<h2>{% translate 'Meine Vermittlungen' %}</h2>
|
<h2>{% translate 'Meine Vermittlungen' %}</h2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user