aboutsummaryrefslogtreecommitdiff
path: root/templates/layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/layout.html')
-rw-r--r--templates/layout.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/layout.html b/templates/layout.html
index 3620a3a..329a485 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -10,13 +10,14 @@
<ul class=nav>
<li><a href="{{ url_for('new_paste') }}">New Paste</a>
{% if g.user and g.user == "admin" %}<li><a href="{{ url_for('admin') }}">admin</a></li>{% endif %}
- {% if g.user %}<li><a href="{{ url_for('logout') }}">Sign out</a></li>{% endif %}
+ {% if g.user %}<li><a href="{{ url_for('logout') }}">Sign out</a></li>
+ {% else %}<li><a href="{{ url_for('login') }}">Sign in</a>{% endif %}
{#
{% if g.user %}
<li><a href="{{ url_for('my_pastes') }}">My Pastes</a>
<li><a href="{{ url_for('logout') }}">Sign out ({{ g.user.display_name }})</a>
{% else %}
- <li><a href="{{ url_for('login') }}">Sign in with Facebook</a>
+ <li><a href="{{ url_for('login') }}">Sign in</a>
{% endif %}
#}
</ul>
bgstack15