diff options
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html index c3ed80b..425ea34 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,15 +15,11 @@ <h1 id="header"><img src="{{url_for('static', filename='logo.png')}}" alt="Spline" /></h1> - {% if title %} - <h2>{{ title }}</h2> - {% endif %} - {%- if not no_login_message %} {%- if g.user %} - <p>Logged in as {{ g.user.uid }}. <a href="{{ url_for('logout') }}">Log out</a></p> + <p>Angemeldet als <strong>{{ g.user.uid }}</strong> | <a href="{{ url_for('logout') }}">Abmelden</a></p> {%- else %} - <p>Not logged in. <a href="{{ url_for('index') }}">Log in</a></p> + <p>Nicht angemeldet | <a href="{{ url_for('index') }}">Login</a></p> {%- endif %} {%- endif %} @@ -37,6 +33,10 @@ {% endif %} {% endwith %} + {% if title %} + <h2>{{ title }}</h2> + {% endif %} + {% block content %}{% endblock %} </body> </html> |