summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
-rw-r--r--templates/tree.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index 5c4a1c3..5d1a4c1 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -75,7 +75,7 @@
{% if user.is_authenticated %}
<ul class="menubar">
<li>
- <a href="#">{{profile.display_name}}</a>
+ <a href="#">{{user.get_full_name}}</a>
<ul>
<li><a href="/user/home">Dashboard</a></li>
<li><a href="/accounts/logout">Logout</a></li>
diff --git a/templates/tree.html b/templates/tree.html
index 01969ab..27399fc 100644
--- a/templates/tree.html
+++ b/templates/tree.html
@@ -38,8 +38,8 @@ $(function() {
<li id="left">
<ul id="sidemenu">
{% if user.is_authenticated %}
- <li><a class="gravatar" href="#" title="{{profile.email}}"></a></li>
- <li><a href="/user/home"><span class="ui-icon ui-icon-home"></span>{{profile.display_name}}</a></li>
+ <li><a class="gravatar" href="#" title="{{user.email}}"></a></li>
+ <li><a href="/user/home"><span class="ui-icon ui-icon-home"></span>{{user.get_full_name}}</a></li>
{% endif %}
<li style="border-top: 1px solid black; width: 100%; margin-top: 5px;">&nbsp;</li>
{% if name %}