Display user avatar in epicenter

This commit is contained in:
Trever Fischer
2012-03-02 21:19:39 -05:00
parent a6399c1305
commit b246ac8910

View File

@@ -1,6 +1,7 @@
{%load static %}
{% load cache %}
{% load flatpages %}
{% load avatar_tags %}
{% get_static_prefix as STATIC_PREFIX %}
<html>
<head>
@@ -27,6 +28,9 @@
<div id="epicenter" class="stat-box">
{% if user.is_authenticated %}
<h2 class="title">{{user.username}}</h2>
<div style="float:right">
{% avatar user %}
</div>
<ul>
<li><a href="{% url user_profile %}">Profile</a></li>
<li><a href="{% url profiles.views.logout %}">Logout</a></li>