Small dashboard polishing

This commit is contained in:
Johannes Zellner
2025-04-08 14:23:54 +02:00
parent 8cdae41051
commit 3614812680
5 changed files with 28 additions and 17 deletions

View File

@@ -290,14 +290,12 @@ onUnmounted(() => {
</div>
<div class="empty-placeholder" v-if="apps.length === 0">
<!-- for admins -->
<!-- admins or not-->
<div v-if="profile.isAtLeastAdmin">
<h4>{{ $t('apps.noApps.title') }}</h4>
<h5 v-html="$t('apps.noApps.description', { appStoreLink: '#/appstore' })"></h5>
</div>
<!-- for non-admins -->
<div v-if="!profile.isAtLeastAdmin">
<div v-else>
<h4>{{ $t('apps.noAccess.title') }}</h4>
<h5>{{ $t('apps.noAccess.description') }}</h5>
</div>
@@ -456,7 +454,8 @@ onUnmounted(() => {
}
.empty-placeholder {
margin-top: 20px;
font-size: 18px;
margin: 10px;
}
</style>