Merge pull request #1927 from syeopite/add-link-to-yt
Add "Watch on Youtube" button next to audio mode Icon.
This commit is contained in:
commit
533c6cefee
|
@ -141,7 +141,10 @@
|
|||
<b style="flex: 1;">
|
||||
<a style="width:100%" href="/channel/<%= item.ucid %>"><%= item.author %></a>
|
||||
</b>
|
||||
<a title="Audio mode" href="/watch?v=<%= item.id %>&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 %>&listen=1">
|
||||
<i class="icon ion-md-headset"></i>
|
||||
</a>
|
||||
</p>
|
||||
|
|
Loading…
Reference in a new issue