fix
This commit is contained in:
parent
80c5a87c2a
commit
c9e4ab56fb
@ -833,9 +833,69 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=<
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<% if (Array.isArray(released?.playlists)) { %>
|
||||
|
||||
<% if (released.playlists.length != "0") { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>&tab=releases" class="tab" style="color:pink">Releases</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (tab === "releases") { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>" class="tab" style="color:#cfe2f3;">Videos</a>
|
||||
|
||||
<% if (Array.isArray(shorts?.videos)) { %>
|
||||
<% if (shorts.videos[0]) { %>
|
||||
<% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %>
|
||||
|
||||
|
||||
<a href="/channel?id=<%=ID%>&tab=shorts" class="tab shr">Shorts</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (Array.isArray(stream?.videos)) { %>
|
||||
<% if (stream.videos[0]) { %>
|
||||
|
||||
<% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>&tab=live" class="tab" style="color:#d9ead3;">Live</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (Array.isArray(c?.comments)) { %>
|
||||
|
||||
<% if (c.comments.length != "0") { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>&tab=community" class="tab" style="color:pink">Posts</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<% if (Array.isArray(playlist?.playlists)) { %>
|
||||
|
||||
<% if (playlist.playlists.length != "0") { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>&tab=playlist" class="tab" style="color:pink">Playlists</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<% if (Array.isArray(released?.playlists)) { %>
|
||||
|
||||
<% if (released.playlists.length != "0") { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>&tab=releases" class="tab active" style="color:pink">Releases</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (tab === "about") { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>" class="tab" style="color:#cfe2f3;">Videos</a>
|
||||
@ -902,6 +962,14 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=<
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<% if (Array.isArray(released?.playlists)) { %>
|
||||
|
||||
<% if (released.playlists.length != "0") { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>&tab=releases" class="tab" style="color:pink">Releases</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (tab === "shorts") { %>
|
||||
@ -944,7 +1012,15 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=<
|
||||
<a href="/channel?id=<%=ID%>&tab=playlist" class="tab" style="color:pink">Playlists</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
|
||||
<% if (Array.isArray(released?.playlists)) { %>
|
||||
|
||||
<% if (released.playlists.length != "0") { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>&tab=releases" class="tab" style="color:pink">Releases</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (tab === "live") { %>
|
||||
@ -978,6 +1054,16 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=<
|
||||
<a href="/channel?id=<%=ID%>&tab=playlist" class="tab" style="color:pink">Playlists</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
|
||||
<% if (Array.isArray(released?.playlists)) { %>
|
||||
|
||||
<% if (released.playlists.length != "0") { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>&tab=releases" class="tab" style="color:pink">Releases</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user