mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
placeholder for empty service interfaces table
This commit is contained in:
@@ -575,4 +575,5 @@ export default {
|
|||||||
608: 'Zweck',
|
608: 'Zweck',
|
||||||
609: 'Subdomains von',
|
609: 'Subdomains von',
|
||||||
610: 'Dynamisches DNS',
|
610: 'Dynamisches DNS',
|
||||||
|
611: 'Keine Service-Schnittstellen',
|
||||||
} satisfies i18n
|
} satisfies i18n
|
||||||
|
|||||||
@@ -574,4 +574,5 @@ export const ENGLISH = {
|
|||||||
'Purpose': 608, // as in, the reason for a thing to exist
|
'Purpose': 608, // as in, the reason for a thing to exist
|
||||||
'subdomains of': 609, // this is a partial sentence. A domain name will be added after "of" to complete the sentence.
|
'subdomains of': 609, // this is a partial sentence. A domain name will be added after "of" to complete the sentence.
|
||||||
'Dynamic DNS': 610,
|
'Dynamic DNS': 610,
|
||||||
|
'No service interfaces': 611, // as in, there are no available interfaces (API, UI, etc) for this software application
|
||||||
} as const
|
} as const
|
||||||
|
|||||||
@@ -575,4 +575,5 @@ export default {
|
|||||||
608: 'Propósito',
|
608: 'Propósito',
|
||||||
609: 'Subdominios de',
|
609: 'Subdominios de',
|
||||||
610: 'DNS dinámico',
|
610: 'DNS dinámico',
|
||||||
|
611: 'Sin interfaces de servicio',
|
||||||
} satisfies i18n
|
} satisfies i18n
|
||||||
|
|||||||
@@ -575,4 +575,5 @@ export default {
|
|||||||
608: 'But',
|
608: 'But',
|
||||||
609: 'Sous-domaines de',
|
609: 'Sous-domaines de',
|
||||||
610: 'DNS dynamique',
|
610: 'DNS dynamique',
|
||||||
|
611: 'Aucune interface de service',
|
||||||
} satisfies i18n
|
} satisfies i18n
|
||||||
|
|||||||
@@ -575,4 +575,5 @@ export default {
|
|||||||
608: 'Cel',
|
608: 'Cel',
|
||||||
609: 'Subdomeny',
|
609: 'Subdomeny',
|
||||||
610: 'Dynamiczny DNS',
|
610: 'Dynamiczny DNS',
|
||||||
|
611: 'Brak interfejsów usług',
|
||||||
} satisfies i18n
|
} satisfies i18n
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import { tuiDefaultSort } from '@taiga-ui/cdk'
|
|||||||
import { PackageDataEntry } from 'src/app/services/patch-db/data-model'
|
import { PackageDataEntry } from 'src/app/services/patch-db/data-model'
|
||||||
import { ServiceInterfaceItemComponent } from './interface-item.component'
|
import { ServiceInterfaceItemComponent } from './interface-item.component'
|
||||||
import { i18nPipe } from '@start9labs/shared'
|
import { i18nPipe } from '@start9labs/shared'
|
||||||
|
import { PlaceholderComponent } from '../../../components/placeholder.component'
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'service-interfaces',
|
selector: 'service-interfaces',
|
||||||
@@ -31,6 +32,10 @@ import { i18nPipe } from '@start9labs/shared'
|
|||||||
[pkg]="pkg()"
|
[pkg]="pkg()"
|
||||||
[disabled]="disabled()"
|
[disabled]="disabled()"
|
||||||
></tr>
|
></tr>
|
||||||
|
} @empty {
|
||||||
|
<app-placeholder icon="@tui.monitor-x">
|
||||||
|
{{ 'No service interfaces' | i18n }}
|
||||||
|
</app-placeholder>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -42,7 +47,12 @@ import { i18nPipe } from '@start9labs/shared'
|
|||||||
`,
|
`,
|
||||||
host: { class: 'g-card' },
|
host: { class: 'g-card' },
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
imports: [ServiceInterfaceItemComponent, TuiTable, i18nPipe],
|
imports: [
|
||||||
|
ServiceInterfaceItemComponent,
|
||||||
|
TuiTable,
|
||||||
|
i18nPipe,
|
||||||
|
PlaceholderComponent,
|
||||||
|
],
|
||||||
})
|
})
|
||||||
export class ServiceInterfacesComponent {
|
export class ServiceInterfacesComponent {
|
||||||
readonly pkg = input.required<PackageDataEntry>()
|
readonly pkg = input.required<PackageDataEntry>()
|
||||||
|
|||||||
Reference in New Issue
Block a user