Created
April 15, 2015 19:23
-
-
Save Hiranyaloka/66606642f80eb871f66a to your computer and use it in GitHub Desktop.
shinycms issue #60
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
[%- IF c.user_exists %] | |
You are logged in as <a href="[% c.uri_for( '/user' ) %]">[% ( c.user.display_name || c.user.username ) | html %]</a>. <a href="[% c.uri_for( '/user', 'edit' ) %]">Click here</a> to edit your profile, or here to <a href="[% c.uri_for( '/user', 'logout' ) %]">logout</a>. | |
[%- ELSE %] | |
<a href="[% c.uri_for( '/user', 'login' ) %]">Login</a> | |
[%- IF c.controller('User').allow_registration.upper == 'YES' -%] | |
or <a href="[% c.uri_for( '/user', 'register' ) %]">register an account.</a> | |
[%- END -%] | |
[%- END %] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment