mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 14:58:14 +01:00
add support stuff :3
This commit is contained in:
parent
4357eb6c45
commit
217659f135
1 changed files with 24 additions and 3 deletions
|
@ -652,6 +652,27 @@ display: block; !important;" autoplay controls
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<% if (!video.Channel.Name.endsWith(' - Topic')) { %>
|
||||||
|
<% if (!video.Title.endsWith('Audio)')) { %>
|
||||||
|
<% if (support != undefined) { %>
|
||||||
|
|
||||||
|
<div class="new-button button-encryption">
|
||||||
|
<a title="Support the Creator of the video!" style="color:var(--text-color);text-decoration: none;" href="https://www.patreon.com/join/<%- support.name %>">
|
||||||
|
<div class="pill-button">
|
||||||
|
|
||||||
|
<i class="fa-light fa-badge-dollar"></i>
|
||||||
|
Support
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<% }%> <% }%>
|
||||||
|
<% }%>
|
||||||
|
|
||||||
|
<% if (support == undefined) { %>
|
||||||
|
|
||||||
<% if (!video.Channel.Name.endsWith(' - Topic')) { %>
|
<% if (!video.Channel.Name.endsWith(' - Topic')) { %>
|
||||||
<% if (!video.Title.endsWith('Audio)')) { %>
|
<% if (!video.Title.endsWith('Audio)')) { %>
|
||||||
|
@ -669,7 +690,7 @@ display: block; !important;" autoplay controls
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
<% }%> <% }%>
|
<% }%> <% }%>
|
||||||
<% if (video.Channel.Name.endsWith(' - Topic') || video.Title.endsWith('Audio)')) { %>
|
<% }%> <% if (video.Channel.Name.endsWith(' - Topic') || video.Title.endsWith('Audio)')) { %>
|
||||||
|
|
||||||
<% if (video.Channel.Name.endsWith(' - Topic') || video.Title.endsWith('Audio)')) { %>
|
<% if (video.Channel.Name.endsWith(' - Topic') || video.Title.endsWith('Audio)')) { %>
|
||||||
<a class="new-button" title="open this song in poketube music player :3" style="color:var(--text-color);text-decoration: none;" href="/music?v=<%=video.id%>">
|
<a class="new-button" title="open this song in poketube music player :3" style="color:var(--text-color);text-decoration: none;" href="/music?v=<%=video.id%>">
|
||||||
|
|
Loading…
Reference in a new issue