FreeTube/src/renderer/components/playlist-info/playlist-info.vue

46 lines
966 B
Vue
Raw Normal View History

2020-02-16 19:30:00 +01:00
<template>
<div class="playlistInfo">
<div
class="playlistThumbnail"
>
<img
:src="thumbnail"
@click="playFirstVideo"
2020-02-16 19:30:00 +01:00
>
</div>
<h2>
{{ title }}
</h2>
<p>
{{ videoCount }} {{ $t("Playlist.Videos") }} - {{ viewCount }} {{ $t("Playlist.Views") }} -
<span v-if="infoSource !== 'local'">
{{ $t("Playlist.Last Updated On") }}
</span>
{{ lastUpdated }}
2020-02-16 19:30:00 +01:00
</p>
<p>
{{ description }}
</p>
<hr>
<div
class="playlistChannel"
@click="goToChannel"
2020-02-16 19:30:00 +01:00
>
<img :src="channelThumbnail">
<h3>
{{ channelName }}
</h3>
</div>
<br>
<ft-list-dropdown
:title="$t('Playlist.Share Playlist.Share Playlist')"
2020-02-16 19:30:00 +01:00
:label-names="shareHeaders"
:label-values="shareValues"
@click="sharePlaylist"
/>
</div>
</template>
<script src="./playlist-info.js" />
<style scoped src="./playlist-info.css" />