Merge pull request #1927 from syeopite/add-link-to-yt

Add "Watch on Youtube" button next to audio mode Icon.
pull/1938/head
TheFrenchGhosty 4 years ago committed by GitHub
commit 533c6cefee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -141,7 +141,10 @@
<b style="flex: 1;"> <b style="flex: 1;">
<a style="width:100%" href="/channel/<%= item.ucid %>"><%= item.author %></a> <a style="width:100%" href="/channel/<%= item.ucid %>"><%= item.author %></a>
</b> </b>
<a title="Audio mode" href="/watch?v=<%= item.id %>&amp;listen=1"> <a title="<%=translate(locale, "Watch on YouTube")%>" href="https://www.youtube.com/watch?v=<%= item.id %>" style="margin-right: 5px;">
<i class="icon ion-logo-youtube"></i>
</a>
<a title="<%=translate(locale, "Audio mode")%>" href="/watch?v=<%= item.id %>&amp;listen=1">
<i class="icon ion-md-headset"></i> <i class="icon ion-md-headset"></i>
</a> </a>
</p> </p>

Loading…
Cancel
Save