We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally posted by @simonw in #840 (comment)
The text was updated successfully, but these errors were encountered:
I could borrow the implementation for this from datasette-auth-github https://github.com/simonw/datasette-auth-github/blob/182298b034ecb647971b65057d1d3e7b7fbbb482/datasette_auth_github/templates/base.html
datasette-auth-github
{% extends "default:base.html" %} {% block extra_head %} <style type="text/css"> .hd .logout { float: right; text-align: right; padding-left: 1em; } </style> {% endblock %} {% block nav %} {{ super() }} {% if auth and auth.username %} <p class="logout"> <strong>{{ auth.username }}</strong> · <a href="/-/logout">Log out</a> </p> {% endif %} {% endblock %}
Sorry, something went wrong.
From #840 (comment)
Another problem: what to display in the "you are logged in as", since we don't dictate an actor design. I'm going to use a includes template for this that can easily be over-ridden by administrators or by plugins. The default will look for the first available of the following keys: * display * name * username * login * id
Another problem: what to display in the "you are logged in as", since we don't dictate an actor design.
I'm going to use a includes template for this that can easily be over-ridden by administrators or by plugins.
The default will look for the first available of the following keys:
* display * name * username * login * id
Logout link in nav, refs #875
2115d7e
Added logout button to pattern portfolio, closes #876
2b85bbd
Refs #875
No branches or pull requests
Originally posted by @simonw in #840 (comment)
The text was updated successfully, but these errors were encountered: