diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-19 13:29:08 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-19 13:29:08 +0200 |
commit | 7fd19157644534d004a5ef4ca450fa7a3d3eb4b0 (patch) | |
tree | c9c0189d72380cdf942fb7e4a24dab43b943d8a5 /templates/intro.tmpl | |
parent | 1543cd3d0c0e6b54440c6a895f2f283dc3688913 (diff) | |
download | aCms-7fd19157644534d004a5ef4ca450fa7a3d3eb4b0.tar.gz aCms-7fd19157644534d004a5ef4ca450fa7a3d3eb4b0.tar.bz2 |
completed login/logout
Diffstat (limited to 'templates/intro.tmpl')
-rw-r--r-- | templates/intro.tmpl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/intro.tmpl b/templates/intro.tmpl index 99f5e92..0fd4c35 100644 --- a/templates/intro.tmpl +++ b/templates/intro.tmpl @@ -11,8 +11,13 @@ Welcome to <b>StrusCms</b>. </div> <div> - If you want to edit pages, please log in - <a href="<%= login_link %>">here</a>. + <% if not empty username %> + After oyou finished editing pages, please log out + <a href="<%= logout_link %>">here</a>. + <% else %> + If you want to edit pages, please log in + <a href="<%= login_link %>">here</a>. + <% end %> </div> <% end template %> |