formatted likes & dislikes

This commit is contained in:
Ashley 2022-09-22 16:28:28 +02:00
parent c412be8451
commit e86760ac51

View file

@ -177,12 +177,12 @@
</div> </div>
<div class="video-info-buttons" style="border-radius:16px;background: #1c1c1c;padding: 3px;border-style: none;min-height: 34px;height: min-content;"> <div class="video-info-buttons" style="border-radius:16px;background: #1c1c1c;padding: 3px;border-style: none;min-height: 34px;height: min-content;">
<div title="Likes"> <div title="<%=engagement.likes.toLocaleString()%> Likes">
<i class="fa-light fa-thumbs-up"></i> <i class="fa-light fa-thumbs-up"></i>
<%=engagement.likes.toLocaleString()%> <%=convert(engagement.likes)%>
</div> </div>
<div title="Dislikes"> <div title="<%=engagement.dislikes.toLocaleString()%> Dislikes">
<i class="fa-light fa-thumbs-down"></i> <%=engagement.dislikes.toLocaleString()%> <i class="fa-light fa-thumbs-down"></i> <%=convert(engagement.dislikes)%>
</div> </div>
<div> <div>
@ -928,11 +928,11 @@ a{
<div class="video-info-buttons" style="font-family:'Inter';font-weight:900;white-space:yes;background-color: #333;border-radius: 15px;margin: 6px;align-self: center;align-items: center;"> <div class="video-info-buttons" style="font-family:'Inter';font-weight:900;white-space:yes;background-color: #333;border-radius: 15px;margin: 6px;align-self: center;align-items: center;">
<div> <div>
<i class="fa-light fa-thumbs-up" style="font-size:x-large" ></i> <i class="fa-light fa-thumbs-up" style="font-size:x-large" ></i>
<%=engagement.likes.toLocaleString()%> <%=convert(engagement.likes)%>
</div> </div>
<a> <div>
<i class="fa-light fa-thumbs-down" style="font-size:x-large" ></i><%=engagement.dislikes.toLocaleString()%> <i class="fa-light fa-thumbs-down" style="font-size:x-large" ></i><%=convert(engagement.dislikes)%>
</a> </div>
<a style="color:#fff" href="/download?v=<%=video.id%>&from=mobile"> <a style="color:#fff" href="/download?v=<%=video.id%>&from=mobile">
<i style="font-size:x-large" class="fa-light fa-download"></i> <i style="font-size:x-large" class="fa-light fa-download"></i>
Download Download