Tweak profile page
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
{% extends "profile_base.html" %}
|
||||
{%block title%}Your Profile{%endblock%}
|
||||
{% load minecraft %}
|
||||
{%block title%}{{user}}{%endblock%}
|
||||
|
||||
{% block sectiontitle %}{{user}}{%endblock%}
|
||||
|
||||
{%block content %}
|
||||
<div class="item">
|
||||
<p>Welcome, {{ user.username }}</p>
|
||||
|
||||
{% avatar user %}
|
||||
<a href="{%url profiles.views.edit %}">Edit profile</a>
|
||||
<a href="{%url profiles.views.invites %}">Invites</a>
|
||||
<ul>
|
||||
<li>Member Since: {{user.date_joined|date:"SHORT_DATE_FORMAT"}}</li>
|
||||
<li>Last seen: {{user.last_login|date:"SHORT_DATE_FORMAT"}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
{%endblock%}
|
||||
|
Reference in New Issue
Block a user