From 6a7fa540ee5693ae59d9a101a3b77f7998d44632 Mon Sep 17 00:00:00 2001 From: Janis Streib <me@janis-streib.de> Date: Fri, 13 Nov 2020 15:28:01 +0100 Subject: [PATCH] UPD: show field descriptions more prominently --- frontend/src/components/DataEditField.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/DataEditField.vue b/frontend/src/components/DataEditField.vue index 301e3e6ea..d3acb7c87 100644 --- a/frontend/src/components/DataEditField.vue +++ b/frontend/src/components/DataEditField.vue @@ -1,7 +1,8 @@ <template> <div v-if="object_attribute"> <b-form-group - :title="`${object_attribute.description_detail}\n\nName: ${attribute_name}\nReference: ${attribute_reference_name}\nReferencing: ${attribute_referencing}`" + :title="`Name: ${attribute_name}\nReference: ${attribute_reference_name}\nReferencing: ${attribute_referencing}`" + :description="object_attribute.description_detail" :label="object_attribute.description_sys_scope"> <b-form-input :value="attribute_preset || ''" v-if="(input_reducer === null || input_reducer instanceof Boolean) && (object_attribute.data_type.includes('integer'))" @@ -12,7 +13,8 @@ v-else-if="object_attribute.data_type==='timestamp_tz'"> <b-row> <b-col> - <b-form-datepicker label-reset-button="Datum entfernen" :reset-value="null" reset-button @input="composeDate()" v-model="date_picker" + <b-form-datepicker label-reset-button="Datum entfernen" :reset-value="null" reset-button + @input="composeDate()" v-model="date_picker" locale="de"></b-form-datepicker> </b-col> <b-col> -- GitLab