Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add logout link to showLogin.html template
- Loading branch information
1 parent
1fa0e28
commit 1eb2d68
Showing
2 changed files
with
31 additions
and
18 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,17 +1,27 @@ | ||
<ul> | ||
<li> | ||
<f:link.action action="facebookLogin" title="login with facebook"> | ||
login with facebook | ||
</f:link.action> | ||
</li> | ||
<li> | ||
<f:link.action action="twitterLogin" title="login with twitter"> | ||
login with twitter | ||
</f:link.action> | ||
</li> | ||
<li> | ||
<f:link.action action="googleSignIn" title="login with google"> | ||
login with google | ||
</f:link.action> | ||
</li> | ||
</ul> | ||
<f:if condition="{loggedIn}"> | ||
<f:then> | ||
<p> | ||
You are allready logged in, do you what to | ||
<f:link.action action="logout" title="log out">log out</f:link.action>? | ||
</p> | ||
</f:then> | ||
<f:else> | ||
<ul> | ||
<li> | ||
<f:link.action action="facebookLogin" title="login with facebook"> | ||
login with facebook | ||
</f:link.action> | ||
</li> | ||
<li> | ||
<f:link.action action="twitterLogin" title="login with twitter"> | ||
login with twitter | ||
</f:link.action> | ||
</li> | ||
<li> | ||
<f:link.action action="googleSignIn" title="login with google"> | ||
login with google | ||
</f:link.action> | ||
</li> | ||
</ul> | ||
</f:else> | ||
</f:if> |