Clean up profile pages a tad
This commit is contained in:
@@ -14,8 +14,9 @@
|
||||
{% block sectiontitle %}{{profile}}{%endblock%}
|
||||
|
||||
{%block content %}
|
||||
<div class="item">
|
||||
<div class="item profile">
|
||||
<div class="avatar">{% avatar profile 128 %}</div>
|
||||
<h2>Statistics</h2>
|
||||
<ul>
|
||||
<li>Member Since: {{profile.date_joined|date:"SHORT_DATE_FORMAT"}}</li>
|
||||
<li>Last seen: {{profile.last_login|date:"SHORT_DATE_FORMAT"}}</li>
|
||||
@@ -31,13 +32,17 @@ Nobody!
|
||||
<h2>Forum Activity</h2>
|
||||
<ul>
|
||||
{% for post in profile.post_set.all %}
|
||||
{% if post.topic %}
|
||||
<li><a href="{{post.get_absolute_url}}">{{post.topic}}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<h2>Invited Players</h2>
|
||||
<ul>
|
||||
{% for invite in profile.invites.all %}
|
||||
{% if invite.claimer %}
|
||||
<li><a href="{{invite.claimer.get_absolute_url}}">{{invite.claimer}}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user