summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-08-18 10:39:01 +0200
committerLeif Johansson <leifj@sunet.se>2011-08-18 10:39:01 +0200
commit9d4561febd0489eb8cab1fc3654614b1a5ed17ac (patch)
treeb83ce52d6ae533c17049720d8463cabdd71de3e9 /templates/base.html
parent36dad4f8b67948daef92257cea362c5d772279e3 (diff)
use userdisplay for user display
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 5c4a1c3..110d7b8 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,3 +1,4 @@
+{% load userdisplay %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
<head>
@@ -75,7 +76,7 @@
{% if user.is_authenticated %}
<ul class="menubar">
<li>
- <a href="#">{{profile.display_name}}</a>
+ <a href="#">{{user|userdisplay}}</a>
<ul>
<li><a href="/user/home">Dashboard</a></li>
<li><a href="/accounts/logout">Logout</a></li>