diff --git a/html/poketube.ejs b/html/poketube.ejs index e338da4d..a412c38a 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -12,7 +12,7 @@ This Source Code Form is subject to the terms of the GNU General Public License: - Copyright (C) 2021-2023 POKETUBE (https://codeberg.org/Ashley/poketube) + Copyright (C) 2021-2024 POKETUBE (https://codeberg.org/Ashley/poketube) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -672,7 +672,7 @@ background-color: #0000; * @licstart The following is the entire license notice for the JavaScript * code in this page. * - * Copyright (C) 2021-2023 PokeTube Project (https://codeberg.org/Ashley/poketube) + * Copyright (C) 2021-2024 PokeTube Project (https://codeberg.org/Ashley/poketube) * * The JavaScript code in this page is free software: you can redistribute * it and/or modify it under the terms of the GNU General Public License @@ -1549,7 +1549,7 @@ Recommended Videos <% if (!f) { %> -<% k.Video.Recommendations?.Video?.forEach(x => { %>
<% if (!optout) { %><%- x.duration || "LIVE"%><% } %><% if (optout) { %><%- x.duration || "LIVE"%><% } %>
<% if (!optout) { %><%= x.Title %><% } %><% if (optout) { %><%= x.Title %><% } %>
<%=x.Channel.Name %>
<% if (universe) { %><%= x.uploadedAt.replace(" Streamed ", " ") %>
<%= convert(x.views) %> views <% } %> <% if (!universe) { %><%= x.uploadedAt.replace(" Streamed ", " ") %> • <%= convert(x.views) %> views <% } %>
<% }) %><% } %> +<% k.Video.Recommendations?.Video?.forEach(x => { %>
<% if (!optout) { %><%- x.duration || "LIVE"%><% } %><% if (optout) { %><%- x.duration || "LIVE"%><% } %>
<% if (!optout) { %><%= x.Title %><% } %><% if (optout) { %><%= x.Title %><% } %>
<%=x.Channel.Name %>
<% if (universe) { %><%= x.uploadedAt.replace("Streamed ", " ") %>
<%= convert(x.views) %> views <% } %> <% if (!universe) { %><%= x.uploadedAt.replace("Streamed", " ") %> • <%= convert(x.views) %> views <% } %>
<% }) %><% } %> <% if (f) { %> @@ -1900,7 +1900,7 @@ window.addEventListener("unload", cleanup) - + @@ -1976,7 +1976,7 @@ fetch(statsurl + "?browser=" + encodedBrowserName)