Use minecraft avatars

This commit is contained in:
Trever Fischer
2012-03-03 22:09:40 -05:00
parent 8687e034ac
commit 34567bf695
8 changed files with 44 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{%load static %}
{% load cache %}
{% load flatpages %}
{% load avatar_tags %}
{% load minecraft %}
{% get_static_prefix as STATIC_PREFIX %}
<html>
<head>
@@ -34,7 +34,7 @@
<h2 class="title">{{user.username}}</h2>
<div class="userbox">
<div class="avatar">
{% avatar user %}
{% avatar user.get_profile.mc_username %}
</div>
<div class="balance">
<span id="balance-display">{{ user.get_profile.currencyaccount.balance|floatformat:2 }}</span> grist

View File

@@ -1,5 +1,5 @@
{% load markup %}
{% load avatar_tags %}
{% load minecraft %}
<a name="reply-{{post.id}}"></a>
<div class="forum-post-user">

View File

@@ -1,5 +1,5 @@
{% extends 'base_simple.html' %}
{% load avatar_tags %}
{% load minecraft %}
{% block title %}Users{% endblock %}
{% block sectiontitle %}Users{% endblock %}