From aa222cd19ff01b3fec5ae3058a3be3cba7770656 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 20 Nov 2022 15:00:54 +0000 Subject: [PATCH] improvements to poketube html :3 Signed-off-by: Ashley --- html/poketube.ejs | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 3a468293..de7177b0 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -20,10 +20,10 @@ --> - + - <% if (e === false) { %> - + <% if (e === false) { %> + <% } %> <% if (!e) { %> @@ -395,14 +395,16 @@
- + + <%=convert(engagement.likes)%>
+
- <%=convert(engagement.dislikes)%> + <%=convert(engagement.dislikes)%>
- +
@@ -448,15 +450,19 @@
<% if (String(video.Description) != "[object Object]") { %> + <% if (String(inv_vid.descriptionHtml) != "undefined") { %> + <% if (String(inv_vid.descriptionHtml) != " ") { %> <%-String(inv_vid.descriptionHtml).replace(/\n/g, "
").replace(/twitter\.com/g, "nitter.net").replace(/reddit\.com/g, "teddit.net") %> + <% } %> <% } %> <% } %> - + <% if (String(video.Description) == "[object Object]") { %>

No Description On this Video ( sad innit :c )

<% } %> + <% if (wiki.extract_html) { %>
From da web
@@ -834,7 +840,6 @@ <% if (isMobile) { %> <% if (isMobile) { %> - + + <% if (e === false) { %> <% } %>