summaryrefslogtreecommitdiff
path: root/templates/intro.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/intro.tmpl')
-rw-r--r--templates/intro.tmpl9
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 %>