repod/src/views/GPodder.vue
Michel Roux 2b4dfa27e8
All checks were successful
repod / nextcloud (push) Successful in 1m4s
repod / nodejs (push) Successful in 1m29s
Update nextcloud vue
2023-08-23 00:30:38 +02:00

40 lines
719 B
Vue

<template>
<NcAppContent>
<NcEmptyContent :name="t('Missing required app')">
<template #icon>
<Alert />
</template>
<template #action>
<NcButton :href="gPodderSyncUrl">
{{ t('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,
},
data() {
return {
gPodderSyncUrl: generateUrl('/settings/apps/installed/gpoddersync'),
}
},
}
</script>