~mdaniel-k/mailmanweb/dependency

« back to all changes in this revision

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

  • Committer: Florian Fuchs
  • Date: 2012-03-13 04:32:58 UTC
  • Revision ID: flo.fuchs@gmail.com-20120313043258-n48ogyce354atf6n
added logout link to metaNav

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
                    {% endif %}
34
34
                        <li>
35
35
                        {% if user.is_authenticated %}
36
 
                            Logged in as: <a href="{% url user_profile %}">{{ user.username }}</a>
 
36
                                    <a class="mm_logout" href="{% url user_logout %}">Logout</a>
37
37
                        {% else %}
38
 
                                <a class="mm_user" href="{% url user_login %}">Login</a>
 
38
                                    <a class="mm_user" href="{% url user_login %}">Login</a>
39
39
                        {% endif %}
40
40
                        </li>
41
41
                </ul>
 
42
                {% if user.is_authenticated %}
 
43
                    <div class="mm_loginName">Logged in as: <a href="{% url user_profile %}">{{ user.username }}</a></div>
 
44
                {% endif %}
42
45
            </div>
43
46
        </div>
44
47
    </header>