Commit | Line | Data |
---|---|---|
33234b2f RB |
1 | {% extends "base.html" %} |
2 | {% load url from future %} | |
3 | ||
4 | {% block content %} | |
5 | {% if user.is_authenticated %} | |
6 | <h3>Welcome, {{ user.get_full_name }}</h3> | |
7 | <p><a href="{% url 'logout' %}">Log out </a></p> | |
8 | {% else %} | |
9 | <h3>Authenticate</h3> | |
10 | <p><a href="{% url 'xorgauth' %}?next=/" />Connect through X.org</a></p> | |
11 | {% endif %} | |
12 | {% endblock %} |