mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-26 15:37:24 +00:00
Merge pull request #1258 from Bnyro/master
show subscribed channel count in subscriptions page
This commit is contained in:
commit
8416b0fa1b
@ -1,13 +1,15 @@
|
|||||||
<template>
|
<template>
|
||||||
<h1 class="font-bold text-center" v-t="'titles.subscriptions'" />
|
<h1 class="font-bold text-center" v-t="'titles.subscriptions'" />
|
||||||
|
|
||||||
<div v-if="authenticated">
|
<div v-if="authenticated" class="flex justify-between w-full">
|
||||||
|
<div>
|
||||||
<button class="btn mr-0.5">
|
<button class="btn mr-0.5">
|
||||||
<router-link to="/import" v-t="'actions.import_from_json'" />
|
<router-link to="/import" v-t="'actions.import_from_json'" />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button class="btn" @click="exportHandler" v-t="'actions.export_to_json'" />
|
<button class="btn" @click="exportHandler" v-t="'actions.export_to_json'" />
|
||||||
</div>
|
</div>
|
||||||
|
<i18n-t keypath="subscriptions.subscribed_channels_count">{{ subscriptions.length }}</i18n-t>
|
||||||
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
|
@ -129,5 +129,8 @@
|
|||||||
"music_videos": "YT Music: Videos",
|
"music_videos": "YT Music: Videos",
|
||||||
"music_albums": "YT Music: Albums",
|
"music_albums": "YT Music: Albums",
|
||||||
"music_playlists": "YT Music: Playlists"
|
"music_playlists": "YT Music: Playlists"
|
||||||
|
},
|
||||||
|
"subscriptions": {
|
||||||
|
"subscribed_channels_count": "Subscribed to: {0}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user