-
-
{{ name }}
-
+
+
{{ episode.name }}
+
-
+
- {{ title }}
+ {{ episode.title }}
{{ t('repod', 'Download') }}
- {{ size ? `(${humanFileSize(size)})` : '' }}
+ {{ episode.size ? `(${humanFileSize(episode.size)})` : '' }}
@@ -43,32 +47,8 @@ export default {
SafeHtml,
},
props: {
- description: {
- type: String,
- default: '',
- },
- image: {
- type: String,
- required: true,
- },
- link: {
- type: String,
- default: null,
- },
- name: {
- type: String,
- required: true,
- },
- size: {
- type: Number,
- default: null,
- },
- title: {
- type: String,
- required: true,
- },
- url: {
- type: String,
+ episode: {
+ type: Object,
required: true,
},
},
diff --git a/src/components/Feed/Episode.vue b/src/components/Feed/Episode.vue
new file mode 100644
index 0000000..bfa6a15
--- /dev/null
+++ b/src/components/Feed/Episode.vue
@@ -0,0 +1,203 @@
+