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

Dynamic rendering of document_detail view template #1246

Closed
DavidQuartz opened this issue Oct 18, 2022 · 2 comments
Closed

Dynamic rendering of document_detail view template #1246

DavidQuartz opened this issue Oct 18, 2022 · 2 comments
Assignees
Labels
4.0.x enhancement New feature or request master

Comments

@DavidQuartz
Copy link
Member

Allow the document_detail view/template to only render the body (without header and footer elements) instead of the whole page, based on a GET parameter which the client will provide in the request.
eg documents/{pk}/document_detail?preview

@giohappy
Copy link

@DavidQuartz the URL is documents/{pk}/metadata_detail?preview instead of documents/{pk}/document_detail?preview.
You can test it on branch https://github.com/GeoNode/geonode/tree/issue_1246

@giohappy
Copy link

Issue moved to GeoNode/geonode #10171 via Zenhub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.0.x enhancement New feature or request master
Projects
None yet
Development

No branches or pull requests

2 participants