Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m7s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m30s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 8m6s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 8m21s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 17m13s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 17m12s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 9m52s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 9m29s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 47s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m23s
Untertitel, Logo, Kategorie, Rollen und Anheften je Eintrag; Knopf „Anwendungen“ in der Kopfzeile mit allen sichtbaren Einträgen. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
15 lines
611 B
Vue
15 lines
611 B
Vue
<script setup>
|
||
import AppIcon from '@/components/AppIcon.vue';
|
||
|
||
/** Logo einer Anwendung – oder ihr Symbol, wenn kein Logo hochgeladen ist */
|
||
defineProps({
|
||
app: { type: Object, required: true },
|
||
});
|
||
</script>
|
||
|
||
<template>
|
||
<span class="grid shrink-0 place-items-center overflow-hidden rounded-lg" :class="app.logo_url ? 'bg-white ring-1 ring-border' : 'bg-brand-soft text-brand-text'">
|
||
<img v-if="app.logo_url" :src="app.logo_url" alt="" class="size-full object-contain p-1" />
|
||
<AppIcon v-else :name="app.icon || 'link'" class="size-[55%]" :stroke-width="1.7" />
|
||
</span>
|
||
</template>
|