From 4833f96b302b7c0aee2f1ba34df9e37f113add30 Mon Sep 17 00:00:00 2001 From: isah <isabelle.herbauts@univie.ac.at> Date: Fri, 15 May 2020 11:45:38 +0200 Subject: [PATCH] small mod general submission --- .../input/pharma-input-fields/PhEntity.vue | 15 ++++- src/store/modules/vocabulary.js | 59 ++++++++++++++++--- src/utils/fields.js | 4 +- 3 files changed, 65 insertions(+), 13 deletions(-) diff --git a/src/components/input/pharma-input-fields/PhEntity.vue b/src/components/input/pharma-input-fields/PhEntity.vue index fed9737..1801ad4 100644 --- a/src/components/input/pharma-input-fields/PhEntity.vue +++ b/src/components/input/pharma-input-fields/PhEntity.vue @@ -89,11 +89,20 @@ <v-text-field outline :value="orcid" - label="Orcid" + label="ORCID" :rules="[validationrules.orcid]" v-on:input="$emit('input-orcid', $event);validate();$emit('entity-validation', validationWarning)" - background-color="blue-grey lighten-5" - ></v-text-field> + background-color="blue-grey lighten-5"> + <template v-slot:prepend> + <v-tooltip bottom> + <v-btn slot="activator" small icon :href="'https://orcid.org/'" target="_blank"> + <v-icon color="blue">info</v-icon> + </v-btn> + ORCID: Open Researcher and Contributor ID + </v-tooltip> + </template> + + </v-text-field> </v-flex> </v-layout> diff --git a/src/store/modules/vocabulary.js b/src/store/modules/vocabulary.js index a057247..34a6246 100644 --- a/src/store/modules/vocabulary.js +++ b/src/store/modules/vocabulary.js @@ -98,7 +98,17 @@ const state = { "@language": "eng" } ], - "skos:exactMatch": ["fwf id"] + "skos:exactMatch": ["https://www.grid.ac/institutes/grid.25111.36"] + }, + { + "@type": "frapo:FundingAgency", + "skos:prefLabel": [ + { + "@value": "European Commission (EU)", + "@language": "eng" + } + ], + "skos:exactMatch": ["https://www.grid.ac/institutes/grid.270680.b"] } ] }, @@ -123,7 +133,40 @@ const state = { "foaf:homepage": ["https://pharminfo.univie.ac.at/"], "skos:notation": ["ORD 63 Open Research Data"] }, - + { + "@type": "foaf:Project", + "skos:prefLabel": [ + { + "@value": "SFB35", + "@language": "en" + } + ], + "rdfs:comment": [ + { + "@value": "", + "@language": "eng" + } + ], + "foaf:homepage": [""], + "skos:notation": [""] + }, + { + "@type": "foaf:Project", + "skos:prefLabel": [ + { + "@value": "MolTag", + "@language": "en" + } + ], + "rdfs:comment": [ + { + "@value": "", + "@language": "eng" + } + ], + "foaf:homepage": ["https://moltag.univie.ac.at/"], + "skos:notation": [""] + }, { "@type": "foaf:Project", "skos:prefLabel": [ @@ -2919,32 +2962,32 @@ const state = { }, { "@id": "http://creativecommons.org/licenses/by/4.0/", - "skos:prefLabel": { eng: "CC BY 4.0 International" }, + "skos:prefLabel": { eng: "CC BY 4.0 International (Attribution)" }, img: "cc-by.png" }, { "@id": "http://creativecommons.org/licenses/by-nc/4.0/", - "skos:prefLabel": { eng: "CC BY-NC 4.0 International" }, + "skos:prefLabel": { eng: "CC BY-NC 4.0 International (Attribution-NonCommercial)" }, img: "cc-by-nc.png" }, { "@id": "http://creativecommons.org/licenses/by-nc-nd/4.0/", - "skos:prefLabel": { eng: "CC BY-NC-ND 4.0 International" }, + "skos:prefLabel": { eng: "CC BY-NC-ND 4.0 International (Attribution-NonCommercial-NoDerivatives)" }, img: "cc-by-nc-nd.png" }, { "@id": "http://creativecommons.org/licenses/by-nc-sa/4.0/", - "skos:prefLabel": { eng: "CC BY-NC-SA 4.0 International" }, + "skos:prefLabel": { eng: "CC BY-NC-SA 4.0 International (Attribution-NonCommercial-ShareAlike)" }, img: "cc-by-nc-sa.png" }, { "@id": "http://creativecommons.org/licenses/by-nd/4.0/", - "skos:prefLabel": { eng: "CC BY-ND 4.0 International" }, + "skos:prefLabel": { eng: "CC BY-ND 4.0 International (Attribution-NoDerivatives)" }, img: "cc-by-nd.png" }, { "@id": "http://creativecommons.org/licenses/by-sa/4.0/", - "skos:prefLabel": { eng: "CC BY-SA 4.0 International" }, + "skos:prefLabel": { eng: "CC BY-SA 4.0 International (Attribution-ShareAlike)" }, img: "cc-by-sa.png" } ], diff --git a/src/utils/fields.js b/src/utils/fields.js index b141e7f..45a8f35 100644 --- a/src/utils/fields.js +++ b/src/utils/fields.js @@ -5,7 +5,7 @@ const fields = [ { id: "pharma-title", predicate: "dce:title", - label: "*Title", + label: "Title", type: "bf:Title", title: "", component: "pharma-title", @@ -40,7 +40,7 @@ const fields = [ type: "bf:Note", component: "text-field", info: "Abstract", - infoRef: "", + infoRef: "Description of your research collection", multiline: true, multilingual: true, language: "eng", -- GitLab