[media UI] Added extra rating fields to the media info component.

This commit is contained in:
Fabio Manganiello 2023-11-08 23:04:35 +01:00
parent cd635ea69e
commit 90a9684404
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -73,7 +73,17 @@
<div class="row" v-if="item?.rating"> <div class="row" v-if="item?.rating">
<div class="left side">Rating</div> <div class="left side">Rating</div>
<div class="right side" v-text="item.rating.percentage" /> <div class="right side">{{ item.rating.percentage }}%</div>
</div>
<div class="row" v-if="item?.critic_rating">
<div class="left side">Critic Rating</div>
<div class="right side">{{ item.critic_rating }}%</div>
</div>
<div class="row" v-if="item?.community_rating">
<div class="left side">Community Rating</div>
<div class="right side">{{ item.community_rating }}%</div>
</div> </div>
<div class="row" v-if="item?.rating"> <div class="row" v-if="item?.rating">