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

How to disable all export functionality? #152

Open
bartolsthoorn opened this issue Sep 8, 2014 · 2 comments
Open

How to disable all export functionality? #152

bartolsthoorn opened this issue Sep 8, 2014 · 2 comments

Comments

@bartolsthoorn
Copy link

How do I hide all export tabs and links? I don't need them so hiding them will simplify the UI a lot.

@coleifer
Copy link
Owner

coleifer commented Sep 8, 2014

You should be able to override the templates as needed, e.g. the pre_content block:

https://github.com/coleifer/flask-peewee/blob/master/flask_peewee/templates/admin/models/base.html

But it definitely would be easier with a simple flag. Thanks for the suggestion.

@bartolsthoorn
Copy link
Author

Yes thanks, those pre_content blocks are easy to overwrite. The tab next to Add new is quite hard to replace though. https://github.com/coleifer/flask-peewee/blob/master/flask_peewee/templates/admin/index.html#L32

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