Closed kvuppala closed 9 years ago
change the current license field from free text entry to dropdown with the below values, in the dropdown as user types in should filter to the matching URLs, similar to the media type field in resource creation page.
Below are the defined list of values that need to be provided in dropdown: cc-by, Creative Commons Attribution, https://creativecommons.org/licenses/by/4.0 cc-by-sa, Creative Commons Attribution Share-Alike, https://creativecommons.org/licenses/by-sa/4.0 cc-zero, Creative Commons CCZero, http://creativecommons.org/publicdomain/zero/1.0/ cc-nc, Creative Commons Non-Commercial (Any), https://creativecommons.org/licenses/by-nc/4.0 gfdl, GNU Free Documentation License, http://www.gnu.org/copyleft/fdl.html odc-by, Open Data Commons Attribution License, http://opendatacommons.org/licenses/by/1-0/ odc-odbl, Open Data Commons Open Database License (ODbL), http://opendatacommons.org/licenses/odbl/ odc-pddl, Open Data Commons Public Domain Dedication and License (PDDL), http://opendatacommons.org/licenses/pddl/ other-at, Other (Attribution), https://project-open-data.cio.gov/unknown-license/#v1-legacy/other-at other-nc, Other (Non-Commercial), https://project-open-data.cio.gov/unknown-license/#v1-legacy/other-nc other-closed, Other (Not Open), https://project-open-data.cio.gov/unknown-license/#v1-legacy/other-closed other-open, Other (Open), https://project-open-data.cio.gov/unknown-license/#v1-legacy/other-open other-pd, Other (Public Domain), http://creativecommons.org/publicdomain/mark/1.0/other-pd uk-ogl, UK Open Government Licence (OGL), http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
Anything that didn't use one of these predefined values should be URL encoded and appended to the following URL https://project-open-data.cio.gov/unknown-license/#v1-legacy/
For example, if a license field had been specified as "Free for reuse" it will now be converted to the following URL https://project-open-data.cio.gov/unknown-license/#v1-legacy/Free%20for%20reuse
Deployed on QA
License is now setup as dropdown, see the screenshot from QA, as the user types the dropdown will give the corresponding URLs that can be selected.
This change is complete and live.
change the current license field from free text entry to dropdown with the below values, in the dropdown as user types in should filter to the matching URLs, similar to the media type field in resource creation page.
Below are the defined list of values that need to be provided in dropdown: cc-by, Creative Commons Attribution, https://creativecommons.org/licenses/by/4.0 cc-by-sa, Creative Commons Attribution Share-Alike, https://creativecommons.org/licenses/by-sa/4.0 cc-zero, Creative Commons CCZero, http://creativecommons.org/publicdomain/zero/1.0/ cc-nc, Creative Commons Non-Commercial (Any), https://creativecommons.org/licenses/by-nc/4.0 gfdl, GNU Free Documentation License, http://www.gnu.org/copyleft/fdl.html odc-by, Open Data Commons Attribution License, http://opendatacommons.org/licenses/by/1-0/ odc-odbl, Open Data Commons Open Database License (ODbL), http://opendatacommons.org/licenses/odbl/ odc-pddl, Open Data Commons Public Domain Dedication and License (PDDL), http://opendatacommons.org/licenses/pddl/ other-at, Other (Attribution), https://project-open-data.cio.gov/unknown-license/#v1-legacy/other-at other-nc, Other (Non-Commercial), https://project-open-data.cio.gov/unknown-license/#v1-legacy/other-nc other-closed, Other (Not Open), https://project-open-data.cio.gov/unknown-license/#v1-legacy/other-closed other-open, Other (Open), https://project-open-data.cio.gov/unknown-license/#v1-legacy/other-open other-pd, Other (Public Domain), http://creativecommons.org/publicdomain/mark/1.0/other-pd uk-ogl, UK Open Government Licence (OGL), http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
Anything that didn't use one of these predefined values should be URL encoded and appended to the following URL https://project-open-data.cio.gov/unknown-license/#v1-legacy/
For example, if a license field had been specified as "Free for reuse" it will now be converted to the following URL https://project-open-data.cio.gov/unknown-license/#v1-legacy/Free%20for%20reuse