diff --git a/src/modules/main/partials/ColumnInfoPopover.vue b/src/modules/main/partials/ColumnInfoPopover.vue index c7e3d41b3..e1c709b59 100644 --- a/src/modules/main/partials/ColumnInfoPopover.vue +++ b/src/modules/main/partials/ColumnInfoPopover.vue @@ -5,36 +5,36 @@ - - - - - - - - @@ -80,4 +80,12 @@ export default { vertical-align: text-top; } +td { + vertical-align: top; +} + +td.value { + text-align: end; +} + diff --git a/src/modules/modals/EditColumn.vue b/src/modules/modals/EditColumn.vue index bc9ae69c9..b05e0a6aa 100644 --- a/src/modules/modals/EditColumn.vue +++ b/src/modules/modals/EditColumn.vue @@ -22,13 +22,15 @@
- -
- {{ t('tables', 'Last edit') + ': ' }} - {{ updateTime }} - +
+   +
+ {{ t('tables', 'Last edit') + ': ' }} + {{ updateTime }}  + +
-
+
{{ t('tables', 'Cancel') }} @@ -109,8 +111,6 @@ export default { editColumn: structuredClone(this.column), deleteId: null, editErrorTitle: false, - // To enable the column info popup - debug: false, } }, computed: { @@ -204,4 +204,10 @@ export default { align-items: center; } +.buttons :deep(.user-bubble__wrapper) { + padding-top: 5px; +} + +.flex { display: flex } + diff --git a/src/shared/components/ncTable/partials/columnTypePartials/forms/TextLineForm.vue b/src/shared/components/ncTable/partials/columnTypePartials/forms/TextLineForm.vue index f7c191209..a7c98f8e4 100644 --- a/src/shared/components/ncTable/partials/columnTypePartials/forms/TextLineForm.vue +++ b/src/shared/components/ncTable/partials/columnTypePartials/forms/TextLineForm.vue @@ -28,7 +28,7 @@ {{ t('tables', 'Maximum text length') }}
- @@ -42,23 +42,32 @@ import { translate as t } from '@nextcloud/l10n' export default { - name: 'TextLineForm', + props: { column: { type: Object, default: null, }, }, + data() { return { mutableColumn: this.column, } }, + + computed: { + getMaxLength() { + return this.mutableColumn.textMaxLength > 0 ? this.mutableColumn.textMaxLength : null + }, + }, + watch: { column() { this.mutableColumn = this.column }, }, + methods: { t, },
+ {{ t('tables', 'Last edit') }} - {{ updateTime }}
+
+ {{ updateTime }} 
+ {{ t('tables', 'Create') }} - {{ createTime }}
+
+ {{ createTime }} 
+ {{ t('tables', 'Column ID') }} + {{ column.id }}
+ {{ t('tables', 'Table ID') }} + {{ column.tableId }}