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

Make the key metadata fields visible in the layer detail page #31

Open
vdeparday opened this issue Nov 17, 2014 · 5 comments
Open

Make the key metadata fields visible in the layer detail page #31

vdeparday opened this issue Nov 17, 2014 · 5 comments

Comments

@vdeparday
Copy link

Not all the fields are displayed in the layer detail page.

The minimum fields to be displayed should be:

Title
Abstract (general description of the dataset and it represents)
Data Quality (description of its limitation including how it was generated)
License (with a link to the original license wherever possible)
Source (with a link to the original datasource wherever possible)
Last Updated (Date of the data last update, in the actual dataset, not on the GeoNode)
Category
Country
Keywords (optional at this point)

@jj0hns0n
Copy link
Contributor

Which ones of these are not displayed currently? It looks to me like every single one of these is here already.

https://github.com/GeoNode/geonode/blob/master/geonode/base/templates/base/resourcebase_info_panel.html

@vdeparday
Copy link
Author

Ok sounds good, so most layers are missing some of the metadata.
Also is the date not only the date at which the layer was uploaded vs when the data was actually updated?

Can we make sure the abstract is not truncated?

{{ resource.abstract|escape|urlize|linebreaks|safe|truncatechars:500 }}

@jj0hns0n
Copy link
Contributor

@vdeparday The date can be set to anything you want. Publication Date, Revision Date etc. By default it will be publication date of when you uploaded it, but you can change this in the metadata form.

I removed the truncation here ebola-geonode/rogue_geonode@4503a1d

@jj0hns0n
Copy link
Contributor

@vdeparday Can you test this now with one layer that has all the metadata? Check this one for instance.

Note I changed the one date to Revision Date to show the difference.

I think it makes sense to make the keywords clickable to a search for that keyword term.

@state-hiu
Copy link
Contributor

Firmly agree about making keywords clickable. When I investigated this a few months ago, I decided to postpone. A new search API was added to GeoNode core recently that changed the querystring parameters. It's not readily apparent what the querystring should be since the search page doesn't use the history api (https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history) to update the url when a user filters.

@state-hiu state-hiu mentioned this issue Nov 19, 2014
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants