~akl-web-site-team/akl-web-site/django

« back to all changes in this revision

Viewing changes to src/akllt/templates/base.html

  • Committer: Marius Gedminas
  • Date: 2010-06-05 16:28:18 UTC
  • Revision ID: marius@gedmin.as-20100605162818-avmndg2a33tuqmhl
Make the username a link to the user's openid URL.

This is mostly proof-of-concept code to see how to get to the openid URL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
              {% if user.is_authenticated %}
52
52
              <p>
53
53
              {% trans "Naudotojas:" %}
54
 
                {% if user.get_full_name %}
55
 
                  {{ user.get_full_name }}
56
 
                {% else %}
57
 
                  {{ user.username }}
58
 
                {% endif %}
 
54
              {% load user %}
 
55
              {% user %}
59
56
              </p>
60
57
              <p><a href="{% url logout %}">{% trans "atsijungti..." %}</a></p>
61
58
              {% else %}