mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-01 09:47:22 +01:00
add support for audio music
This commit is contained in:
parent
aab6f525e2
commit
172c693cca
1 changed files with 10 additions and 3 deletions
|
@ -299,18 +299,25 @@ border-radius: 5px;
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<% if (!video.Channel.Name.endsWith(' - Topic')) { %>
|
<% if (!video.Channel.Name.endsWith(' - Topic')) { %>
|
||||||
|
<% if (!video.Title.endsWith('Audio)')) { %>
|
||||||
|
|
||||||
<a style="color:#fff;text-decoration: none;" href="/encryption?v=<%=video.id%>">
|
<a style="color:#fff;text-decoration: none;" href="/encryption?v=<%=video.id%>">
|
||||||
<i class="fa-light fa-shield"></i>
|
<i class="fa-light fa-shield"></i>
|
||||||
Encryption
|
Encryption
|
||||||
</a>
|
</a>
|
||||||
<% }%>
|
<% }%> <% }%>
|
||||||
<% if (video.Channel.Name.endsWith(' - Topic')) { %>
|
|
||||||
|
<% if (video.Channel.Name.endsWith(' - Topic') || video.Title.endsWith('Audio)')) { %>
|
||||||
|
|
||||||
|
<% if (video.Channel.Name.endsWith(' - Topic') || video.Title.endsWith('Audio)')) { %>
|
||||||
<a style="color:#fff;text-decoration: none;" href="/music?v=<%=video.id%>">
|
<a style="color:#fff;text-decoration: none;" href="/music?v=<%=video.id%>">
|
||||||
<i class="fa-light fa-music"></i>
|
<i class="fa-light fa-music"></i>
|
||||||
Open In Music
|
Open In Music
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<% }%>
|
<% }%>
|
||||||
|
<% }%>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue