mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-23 14:03:35 +00:00
parent
bec284ea95
commit
d28945f5be
@ -29,6 +29,7 @@
|
|||||||
<div class="uk-margin-small-right">{{ addCommas(video.views) }} views</div>
|
<div class="uk-margin-small-right">{{ addCommas(video.views) }} views</div>
|
||||||
<div class="uk-margin-small-right">{{ uploadDate }}</div>
|
<div class="uk-margin-small-right">{{ uploadDate }}</div>
|
||||||
<div class="uk-flex-1"></div>
|
<div class="uk-flex-1"></div>
|
||||||
|
<template v-if="video.likes >= 0 && video.dislikes >= 0">
|
||||||
<div class="uk-margin-small-left">
|
<div class="uk-margin-small-left">
|
||||||
<font-awesome-icon class="uk-margin-small-right" icon="thumbs-up"></font-awesome-icon>
|
<font-awesome-icon class="uk-margin-small-right" icon="thumbs-up"></font-awesome-icon>
|
||||||
<b>{{ addCommas(video.likes) }}</b>
|
<b>{{ addCommas(video.likes) }}</b>
|
||||||
@ -37,6 +38,12 @@
|
|||||||
<font-awesome-icon class="uk-margin-small-right" icon="thumbs-down"></font-awesome-icon>
|
<font-awesome-icon class="uk-margin-small-right" icon="thumbs-down"></font-awesome-icon>
|
||||||
<b>{{ addCommas(video.dislikes) }}</b>
|
<b>{{ addCommas(video.dislikes) }}</b>
|
||||||
</div>
|
</div>
|
||||||
|
</template>
|
||||||
|
<template v-if="video.likes < 0 && video.dislikes < 0">
|
||||||
|
<div class="uk-margin-small-left">
|
||||||
|
<b v-t="'video.ratings_disabled'" />
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
<a
|
<a
|
||||||
:href="'https://youtu.be/' + getVideoId()"
|
:href="'https://youtu.be/' + getVideoId()"
|
||||||
class="uk-margin-small-left uk-button uk-button-small"
|
class="uk-margin-small-left uk-button uk-button-small"
|
||||||
|
@ -83,7 +83,8 @@
|
|||||||
"videos": "Videos",
|
"videos": "Videos",
|
||||||
"views": "views",
|
"views": "views",
|
||||||
"watched": "Watched",
|
"watched": "Watched",
|
||||||
"sponsor_segments": "Sponsors Segments"
|
"sponsor_segments": "Sponsors Segments",
|
||||||
|
"ratings_disabled": "Ratings Disabled"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"did_you_mean": "Did you mean: "
|
"did_you_mean": "Did you mean: "
|
||||||
|
Loading…
Reference in New Issue
Block a user