Skip to content
New issue

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

Change description_html after user logs in? #13

Open
chrismp opened this issue Aug 26, 2020 · 1 comment
Open

Change description_html after user logs in? #13

chrismp opened this issue Aug 26, 2020 · 1 comment

Comments

@chrismp
Copy link

chrismp commented Aug 26, 2020

I've set up metadata.json to include the following...

{
	"description_html": "<a href=\"/-/login\">Log in before doing anything</a>. If you can see the databases below, you're already logged in.",
        # Bunch more properties here
}

Is there a way to change that message once a user logs in?

@simonw
Copy link
Owner

simonw commented Dec 11, 2020

Not yet. This will become possible when I implement a plugin hook for metadata in simonw/datasette#860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants