Compare commits
4 Commits
73cf94515d
...
32bbc392d6
Author | SHA1 | Date |
---|---|---|
Danhia | 32bbc392d6 | |
UncleReaton | acf306097a | |
UncleReaton | dc955fc189 | |
UncleReaton | e304f7cd15 |
|
@ -92,6 +92,13 @@
|
|||
{% endif %}
|
||||
<li class="list-group-item">{% trans "Registered since" %} {{ user.date_joined|date:"Y-m-d" }}</li>
|
||||
</ul>
|
||||
<ul class="list-group">
|
||||
<form method='GET' action="{% url 'accounts:profile' user %}">
|
||||
<li class="list-group-item">
|
||||
<input class="form-control" type="submit" value="{% trans " View my profile" %}">
|
||||
</li>
|
||||
</form>
|
||||
</ul>
|
||||
<ul class="list-group">
|
||||
<form method='GET' action="{% url 'accounts:delete_account' %}">
|
||||
{%csrf_token%}
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
<a href="{% url 'accounts:edit' %}" class="nav-link">{{ request.user.username }}</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<span class="nav-link">{{ request.user.userprofileinfo.score }}</span>
|
||||
<a class="nav-link" href="{% url 'accounts:profile' user %}">{{ request.user.userprofileinfo.score }}</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link" href="{% url 'accounts:out' %}">{% translate "Logout" %}</a>
|
||||
|
|
Loading…
Reference in New Issue