repod/src/views/GPodder.vue
Michel Roux b0a0414fd4
All checks were successful
repod / xml (push) Successful in 1m25s
repod / php (push) Successful in 45s
repod / nodejs (push) Successful in 1m30s
repod / release (push) Has been skipped
refactor: 🎨 add prettier and update deps
2024-04-30 00:48:47 +02:00

36 lines
753 B
Vue

<template>
<NcAppContent class="content">
<NcEmptyContent :name="t('repod', 'Missing required app')">
<template #action>
<NcButton :href="gPodderSyncUrl">
{{ t('repod', 'Install GPodder Sync') }}
</NcButton>
</template>
<template #icon>
<Alert />
</template>
</NcEmptyContent>
</NcAppContent>
</template>
<script>
import { NcAppContent, NcButton, NcEmptyContent } from '@nextcloud/vue'
import Alert from 'vue-material-design-icons/Alert.vue'
import { generateUrl } from '@nextcloud/router'
export default {
name: 'GPodder',
components: {
Alert,
NcAppContent,
NcButton,
NcEmptyContent,
},
computed: {
gPodderSyncUrl() {
return generateUrl('/settings/apps/installed/gpoddersync')
},
},
}
</script>