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

Display links in gmx:Anchor (used for gmd:useLimitation) with hyperlinks in metadata views #1669

Merged
merged 1 commit into from
Sep 16, 2016

Conversation

josegar74
Copy link
Member

This feature adds a new directive gnLynky that can be used to display metadata indexed fields (or any other text) with the following format: link|URL|Text as an HTML hyperlink:

use-limitations-hyperlink

It contains changes in the indexing of gmd:useLimitation with gmx:Anchor that contains xlink:href attributes with previous format to be displayed with the gnLynky directive. An example xml snippet with this use case:

<gmd:useLimitation>
    <gmx:Anchor 
        xlink:href="http://www.nationalarchives.gov.uk/doc/open-government-licence/">
     Open Government Licence</gmx:Anchor>
</gmd:useLimitation>

Similar indexing can be applied to other elements with similar stuff.

Also the groovy formatter has been updated to manage these cases:

groovy-formatter-use-limitations-hyperlink

@Delawen Delawen merged commit b7322ae into geonetwork:3.0.x Sep 16, 2016
@fxprunayre fxprunayre added this to the 3.2.2 milestone Mar 29, 2018
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

Successfully merging this pull request may close these issues.

3 participants