ADD: Login button when logged out
[phorkie.git] / data / templates / base.htm
index 8192b6b2c20d5158fe38f5a390119868d08a2931..7722105789c35a934db884b88d013ae78b71b433 100644 (file)
       </li>
       {% if identity %}
       <li>
-       <a href="#">{{name}} ({{email}})</a>
+       <a href="/user">{{name}} ({{email}})</a>
       </li>
       <li>
-       <a href="/auth?logout">Logout</a>
+       <a href="/login?logout">Logout</a>
+      </li>
+      {% else %}
+      <li>
+       <a href="/login">Login</a>
       </li>
       {% endif %}
       {% if db.adapter %}
@@ -61,8 +65,8 @@
    <a href="//sf.net/p/phorkie/">phorkie</a>,
    the self-hosted, git-based pastebin software is available under the
    <a href="https://sf.net/p/phorkie/">
-    <acronym title="GNU Affero General Public License">AGPL</acronym></a>.
+    <abbr title="GNU Affero General Public License">AGPL</abbr></a>.
   </div>
 
  </body>
-</html>
\ No newline at end of file
+</html>