diff --git a/config/locale.json b/config/locale.json index 19c14f3c..e328899b 100644 --- a/config/locale.json +++ b/config/locale.json @@ -364,6 +364,7 @@ "addConfirmation": "Confirm", "removeConfirmation": "Remove Confirmation", "mailFeedbackTooltip": "Provide feedback about this mapping via email ({0})", + "mailFeedbackListItem": "please add details via email (if needed)", "reason": "Reason" }, "languages": { @@ -761,6 +762,7 @@ "addConfirmation": "Bestätigen", "removeConfirmation": "Bestätigung entfernen", "mailFeedbackTooltip": "Feedback über dieses Mapping per E-Mail senden ({0})", + "mailFeedbackListItem": "Details ggf. bitte per E-Mail", "reason": "Grund" }, "languages": { diff --git a/src/components/AnnotationList.vue b/src/components/AnnotationList.vue index abad7e42..97a2e1cf 100644 --- a/src/components/AnnotationList.vue +++ b/src/components/AnnotationList.vue @@ -39,7 +39,8 @@ v-for="option in mismatchTagOptions" :key="option.value" :title="option.definition" - :value="option.value">{{ option.text }} + :value="option.value" + :disabled="option.disabled">{{ option.text }} @@ -84,7 +85,9 @@ export default { return getItem(this.provider?._config?.annotations?.mismatchTagVocabulary)?.topConcepts ?? [] }, mismatchTagOptions() { - return [{ value: null, text: "-" }].concat(this.mismatchTagConcepts.map(concept => ({ value: concept.uri, text: this.mismatchTagLabel(concept), definition: this.mismatchTagDefinition(concept) }))) + return [{ value: null, text: "-" }] + .concat(this.mismatchTagConcepts.map(concept => ({ value: concept.uri, text: this.mismatchTagLabel(concept), definition: this.mismatchTagDefinition(concept) }))) + .concat({ value: null, text: this.$t("annotationPopover.mailFeedbackListItem"), disabled: true }) }, }, methods: {