-
Notifications
You must be signed in to change notification settings - Fork 492
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
Widgets: Conditional display of "Producer" or "Distributor" text #3180
Comments
@scolapasta - feel free to edit this one up if it does not reflect the desired changes! |
@djbrooke I was not aware of the second requirement regarding multiple citation field URL labels. |
Yes, it checks count of URLs and only substitutes the name if there is only one URL. |
Yes, verified with 1, 2, and 3 different url fields. Waiting final tweak, passing back to Gustavo to fix generalization issue. |
In e62d5a2 I updated the Solr schema for the alternativeURL field added in e10ab1e but I thought I'd mention that it seems a little strange to me that this field appears even above "title" when updating metadata: Also in in e10ab1e the tsv was edited directly rather than applying to change first to what I thought was the source of truth for the citation metadata block, the spreadsheet tab at https://docs.google.com/spreadsheet/ccc?key=0AjeLxEN77UZodHFEWGpoa19ia3pldEFyVFR0aFVGa0E#gid=0 linked from http://guides.dataverse.org/en/4.3.1/user/appendix.html#metadata-references . If we are abandoning those spreadsheet tabs as the source of truth for our metadata blocks we should stop linking to them from the User Guide. #3168 is related. A side note is that the way I update the Solr schema is by loading all the metadata blocks, running |
That location was the first suggested location from @mcrosas but after further review (seeing it here) we moved it between alternativeTitle and OtherId. |
Also, I went ahead and updated that doc with this new field; however I don't think it has been kept up to date for other changes. (For example, these were removed: contributorAffiliation, contributorIdentifierScheme, contributorIdentifier, but are still there) These changes are from before, and outside the scope of this issues. |
Works! Closing. |
If a Dataset specifies ONLY ONE metadata field of type URL:
e.g.
then the Dataset Citation widget will NOT display the respective title of the field in the widget and will only display "URL"
If a Dataset specifies multiple metadata fields of type URL:
then the Dataset Citation widget will display the display name of the field, e.g. "Producer URL" along with the specific URL.
The text was updated successfully, but these errors were encountered: