repod/src/views/GPodder.vue
Michel Roux d6a9eb0c31
All checks were successful
repod / xml (push) Successful in 16s
repod / php (push) Successful in 57s
repod / nodejs (push) Successful in 2m11s
repod / release (push) Has been skipped
style: center error of gpodder
2024-01-18 11:27:47 +01:00

40 lines
757 B
Vue

<template>
<NcAppContent class="content">
<NcEmptyContent :name="t('repod', 'Missing required app')">
<template #icon>
<Alert />
</template>
<template #action>
<NcButton :href="gPodderSyncUrl">
{{ t('repod', 'Install GPodder Sync') }}
</NcButton>
</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>