2023-07-04 15:43:58 +00:00
|
|
|
<template>
|
2024-01-18 10:27:47 +00:00
|
|
|
<NcAppContent class="content">
|
2024-01-10 14:25:54 +00:00
|
|
|
<NcEmptyContent :name="t('repod', 'Missing required app')">
|
2023-07-06 21:03:52 +00:00
|
|
|
<template #icon>
|
|
|
|
<Alert />
|
|
|
|
</template>
|
|
|
|
<template #action>
|
|
|
|
<NcButton :href="gPodderSyncUrl">
|
2024-01-10 14:25:54 +00:00
|
|
|
{{ t('repod', 'Install GPodder Sync') }}
|
2023-07-06 21:03:52 +00:00
|
|
|
</NcButton>
|
|
|
|
</template>
|
|
|
|
</NcEmptyContent>
|
|
|
|
</NcAppContent>
|
2023-07-04 15:43:58 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-07-06 21:03:52 +00: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 15:43:58 +00:00
|
|
|
export default {
|
|
|
|
name: 'GPodder',
|
2023-07-06 21:03:52 +00:00
|
|
|
components: {
|
|
|
|
Alert,
|
|
|
|
NcAppContent,
|
|
|
|
NcButton,
|
|
|
|
NcEmptyContent,
|
|
|
|
},
|
2023-08-23 15:54:09 +00:00
|
|
|
computed: {
|
|
|
|
gPodderSyncUrl() {
|
|
|
|
return generateUrl('/settings/apps/installed/gpoddersync')
|
|
|
|
},
|
2023-07-06 21:03:52 +00:00
|
|
|
},
|
2023-07-04 15:43:58 +00:00
|
|
|
}
|
|
|
|
</script>
|