~ubuntuone-pqm-team/canonical-identity-provider/trunk

« back to all changes in this revision

Viewing changes to identityprovider/templates/widgets/launchpad/logout-button.html

  • Committer: Danny Tamez
  • Date: 2010-04-21 15:29:24 UTC
  • Revision ID: danny.tamez@canonical.com-20100421152924-lq1m92tstk2iz75a
Canonical SSO Provider (Open Source) - Initial Commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- Copyright 2010 Canonical Ltd.  This software is licensed under the
 
2
GNU Affero General Public License version 3 (see the file  LICENSE). -->
 
3
 
 
4
{% load i18n %}
 
5
 
 
6
<div id="user-info">
 
7
    <div id="user-name">
 
8
        {% blocktrans with user.displayname as displayname %}Logged in as <strong>{{ displayname }}</strong>{% endblocktrans %}
 
9
        {% if token %}
 
10
        {% if not readonly %}
 
11
            <span class="separator">|</span>
 
12
            <a href="./+edit" id="edit-link">{% trans "Edit" %}</a>
 
13
        {% endif %}
 
14
        {% endif %}
 
15
            <span id="logout">
 
16
                <button onclick="javascript:window.location.href='./+logout'">{% trans "Log Out" %}</button>
 
17
                </span>
 
18
    </div>
 
19
</div>