Merge pull request #999 from notpushkin/patch-1

Add audio mode link to items
This commit is contained in:
Perflyst 2021-01-03 13:58:23 +01:00 committed by GitHub
commit 28dac81a90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,10 +137,13 @@
</a> </a>
<% end %> <% end %>
<p><a href="/watch?v=<%= item.id %>"><%= HTML.escape(item.title) %></a></p> <p><a href="/watch?v=<%= item.id %>"><%= HTML.escape(item.title) %></a></p>
<p> <p style="display: flex;">
<b> <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">
<i class="icon ion-md-headset"></i>
</a>
</p> </p>
<h5 class="pure-g"> <h5 class="pure-g">