mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 03:57:48 +01:00
Comment Improvements v2 pog
This commit is contained in:
parent
4424c5d9a9
commit
d1ec4f7e58
1 changed files with 8 additions and 16 deletions
|
@ -507,24 +507,16 @@
|
||||||
</p>
|
</p>
|
||||||
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;">
|
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;">
|
||||||
|
|
||||||
<% if (inv != "Disabled") { %>
|
|
||||||
|
|
||||||
<% if (!Array.isArray( inv.comments)) { %>
|
<% if (!inv.comments) { %>
|
||||||
<p>
|
|
||||||
Comments couldnt load ;-; (<a href="https://codeberg.org/Ashley/poketube/issues/new">Report dis issue</a> or refresh the god damn page lol)
|
|
||||||
</p>
|
|
||||||
<% } %>
|
|
||||||
<% } %>
|
|
||||||
|
|
||||||
<% if (inv == "Disabled") { %>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Comments are disabled
|
There was a error while parsing the comments :c <a href="/watch?v=<%= video.id %>">Refresh the page</a> or report this issue at codeberg
|
||||||
</p>
|
</p>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<div class="comments">
|
<div class="comments">
|
||||||
<% if (Array.isArray( inv.comments)) { %>
|
<% if (inv.comments) { %>
|
||||||
|
|
||||||
<% inv.comments.forEach(x =>{ %>
|
<% inv.comments.forEach(x =>{ %>
|
||||||
|
|
||||||
|
@ -567,10 +559,10 @@
|
||||||
|
|
||||||
<i class="icon ion ion-md-checkmark-circle"></i>
|
<i class="icon ion ion-md-checkmark-circle"></i>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<% } %>
|
|
||||||
|
|
||||||
</h5>
|
</h5>
|
||||||
<p class="comment" style="font-weight: bold;">
|
<p class="comment" style="font-weight: bold;">
|
||||||
|
@ -592,7 +584,7 @@
|
||||||
|
|
||||||
<% }) %>
|
<% }) %>
|
||||||
|
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue