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

60 lines
1.2 KiB
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>
<div class="playlistStats">
<h2 class="playlistTitle">
{{ title }}
</h2>
<p>
{{ videoCount }} {{ $t("Playlist.Videos") }} - <span v-if="!hideViews">{{ viewCount }} {{ $t("Playlist.Views") }} -</span>
<span v-if="infoSource !== 'local'">
{{ $t("Playlist.Last Updated On") }}
</span>
{{ lastUpdated }}
</p>
</div>
<p
class="playlistDescription"
v-text="description"
/>
2020-02-16 19:30:00 +01:00
<hr>
2020-02-16 19:30:00 +01:00
<div
class="playlistChannel"
@click="goToChannel"
2020-02-16 19:30:00 +01:00
>
<img
class="channelThumbnail"
:src="channelThumbnail"
>
<h3
class="channelName"
>
2020-02-16 19:30:00 +01:00
{{ channelName }}
</h3>
</div>
2020-02-16 19:30:00 +01:00
<br>
2020-02-16 19:30:00 +01:00
<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 lang="sass" src="./playlist-info.sass" />