repod/src/views/GPodder.vue

40 lines
723 B
Vue
Raw Normal View History

2023-07-04 15:43:58 +00:00
<template>
2023-07-06 21:03:52 +00:00
<NcAppContent>
2023-08-22 22:30:38 +00:00
<NcEmptyContent :name="t('Missing required app')">
2023-07-06 21:03:52 +00:00
<template #icon>
<Alert />
</template>
<template #action>
<NcButton :href="gPodderSyncUrl">
{{ t('Install GPodder Sync') }}
</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>