Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
26 additions
and
34 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
deme_django/cms/templates/authenticationmethod/loginmenuitem.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{% if can_login_as_anyone %} | ||
<li class="loginmenuitem"><a href="{% url item_type_url viewer="authenticationmethod",action="login" %}?redirect={{ redirect|urlencode }}">Login as</a></li> | ||
<li class="loginmenuitem"><a href="{% url item_type_url viewer="authenticationmethod",action="login" %}?redirect={{ redirect|urlencode }}"><i class="glyphicon glyphicon-user"></i> Login as</a></li> | ||
{% endif %} | ||
{% if cur_agent.is_anonymous %} | ||
{% else %} | ||
<li class="loginmenuitem"><a href="{{ cur_agent.get_absolute_url }}">My account</a></li> | ||
<li class="loginmenuitem"><a href="#" onclick="document.forms['logout_form'].submit(); return false;">Logout</a></li> | ||
<li class="loginmenuitem"><a href="{{ cur_agent.get_absolute_url }}"><i class="glyphicon glyphicon-cog"></i> My account</a></li> | ||
<li class="loginmenuitem"><a href="#" onclick="document.forms['logout_form'].submit(); return false;"><i class="glyphicon glyphicon-off"></i> Logout</a></li> | ||
<li><form name="logout_form" style="display: inline;" method="post" action="{% url item_type_url viewer="authenticationmethod",action="logout" %}?redirect={{ redirect|urlencode }}"></form></li> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,5 +62,11 @@ | |
} | ||
} | ||
} | ||
} //.nav | ||
.login-menu { | ||
.current-user { | ||
padding: 3px 20px; | ||
font-weight: bold; | ||
} | ||
} | ||
} |