File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 5
5
<q-breadcrumbs-el
6
6
v-for =" (breadcrumb, index) in props.values"
7
7
:key =" index"
8
- :label =" `${$t( breadcrumb.label) } ${
8
+ :label =" `${breadcrumb.label} ${
9
9
index === props.values.length - 1 && props.item?.['@id']
10
10
? props.item['@id']
11
11
: ''
Original file line number Diff line number Diff line change 5
5
<q-avatar icon =" warning" color =" primary" text-color =" white" />
6
6
7
7
<span class =" q-ml-sm" >
8
- \{{ $t('Are you sure you want to delete this item? ') }}
8
+ \{{ $t('confirmDelete ') }}
9
9
</span >
10
10
</q-card-section >
11
11
Original file line number Diff line number Diff line change 24
24
{{ /compare}}
25
25
bottom-slots
26
26
filled
27
- class =" col-12 col-md"
27
+ class =" col-12 col-md-4 "
28
28
>
29
29
<template #append >
30
30
<q-icon
Original file line number Diff line number Diff line change 25
25
:rows="items"
26
26
:columns="columns"
27
27
:loading="isLoading"
28
- :no-data-label="$t('{{{labels. unavail}}} ')"
29
- :no-results-label="$t('{{{labels. noresults}}} ')"
30
- :loading-label="$t('{{{labels. loading}}} ')"
31
- :rows-per-page-label="$t('{{{labels. recPerPage}}} ')"
28
+ :no-data-label="$t('unavail')"
29
+ :no-results-label="$t('noresults')"
30
+ :loading-label="$t('loading')"
31
+ :rows-per-page-label="$t('recPerPage')"
32
32
row-key="id"
33
33
flat
34
34
wrap-cells
45
45
46
46
{{#each fields}}
47
47
{{#if isReferences}}
48
- <template #body-cell-{{lowercase reference.title }}="{ value }">
48
+ <template #body-cell-{{reference.name }}="{ value }">
49
49
<td>
50
50
<template v-if="router.hasRoute('{{reference.title}}Show')">
51
51
<router-link
82
82
</td>
83
83
</template>
84
84
{{else if isEmbeddeds}}
85
- <template #body-cell-{{lowercase embedded.title }}="{ value }">
85
+ <template #body-cell-{{embedded.name }}="{ value }">
86
86
<td>
87
87
<template v-if="router.hasRoute('{{embedded.title}}Show')">
88
88
<router-link
Original file line number Diff line number Diff line change 9
9
<q-markup-table >
10
10
<thead >
11
11
<tr >
12
- <th >\{{ $t('{{labels. field}} ') }}</th >
13
- <th >\{{ $t('{{labels. value}} ') }}</th >
12
+ <th >\{{ $t('field') }}</th >
13
+ <th >\{{ $t('value') }}</th >
14
14
</tr >
15
15
</thead >
16
16
<tbody >
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ import type { Item } from "./item";
2
2
3
3
export interface { { titleUcFirst } } extends Item {
4
4
{ { #each fields } }
5
- { { #if readonly } } readonly { { / i f } } { { { n a m e } } } ? : { { # i f ( c o m p a r e t y p e " = = " " d a t e T i m e " ) } } s t r i n g { { e l s e i f ( c o m p a r e t y p e " = = " " i n t e g e r " ) } } n u m b e r { { e l s e i f i s R e l a t i o n s } } a n y { { e l s e } } { { { t y p e } } } { { / if} } ;
5
+ { { #if readonly } } readonly { { / i f } } { { n a m e } } ? : { { # i f ( c o m p a r e t y p e " = = " " d a t e T i m e " ) } } s t r i n g { { e l s e i f ( c o m p a r e t y p e " = = " " i n t e g e r " ) } } n u m b e r { { e l s e i f i s R e l a t i o n s } } a n y { { e l s e } } { { t y p e } } { { / if} } ;
6
6
{ { / e a c h } }
7
7
}
You can’t perform that action at this time.
0 commit comments