40 lines
741 B
Vue
Raw Normal View History

2023-07-04 17:43:58 +02:00
<template>
2023-07-06 23:03:52 +02:00
<NcAppContent>
2024-01-10 15:25:54 +01:00
<NcEmptyContent :name="t('repod', 'Missing required app')">
2023-07-06 23:03:52 +02:00
<template #icon>
<Alert />
</template>
<template #action>
<NcButton :href="gPodderSyncUrl">
2024-01-10 15:25:54 +01:00
{{ t('repod', 'Install GPodder Sync') }}
2023-07-06 23:03:52 +02:00
</NcButton>
</template>
</NcEmptyContent>
</NcAppContent>
2023-07-04 17:43:58 +02:00
</template>
<script>
2023-07-06 23:03:52 +02:00
import {
NcAppContent,
NcButton,
NcEmptyContent,
} from '@nextcloud/vue'
import Alert from 'vue-material-design-icons/Alert.vue'
import { generateUrl } from '@nextcloud/router'
2023-07-04 17:43:58 +02:00
export default {
name: 'GPodder',
2023-07-06 23:03:52 +02:00
components: {
Alert,
NcAppContent,
NcButton,
NcEmptyContent,
},
2023-08-23 17:54:09 +02:00
computed: {
gPodderSyncUrl() {
return generateUrl('/settings/apps/installed/gpoddersync')
},
2023-07-06 23:03:52 +02:00
},
2023-07-04 17:43:58 +02:00
}
</script>