summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-01-07 12:35:13 -0600
committerOmar Roth <omarroth@hotmail.com>2018-01-07 12:35:13 -0600
commit070de12391adf4e598a16a70c88b8e13c3408659 (patch)
tree843391a97ac7725add6974125c3c13fd8618c239 /src
parent225907b5078d3d0dcd1a43110d64ea1b5d7918fc (diff)
downloadinvidious-070de12391adf4e598a16a70c88b8e13c3408659.tar.gz
invidious-070de12391adf4e598a16a70c88b8e13c3408659.tar.bz2
invidious-070de12391adf4e598a16a70c88b8e13c3408659.zip
Fix broken title for related video and add link to author's channel
Diffstat (limited to 'src')
-rw-r--r--src/views/watch.ecr5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/views/watch.ecr b/src/views/watch.ecr
index 46d38c41..6766ddfa 100644
--- a/src/views/watch.ecr
+++ b/src/views/watch.ecr
@@ -32,7 +32,7 @@
<p>Allowed ads : <br><%= video.info.has_key?("allowed_ads") ? video.info["allowed_ads"] : "Unmonetized" %></p>
</div>
<div class="pure-u-1 pure-u-md-3-5">
- <p><%= video.info["author"] %></p>
+ <p><a class="link" href="https://youtube.com/channel/<%= video.info["ucid"] %>"><%= video.info["author"] %></a></p>
<p><%= description %></p>
</div>
<div class="pure-u-1 pure-u-md-1-5">
@@ -40,8 +40,5 @@
<a class="link" href="/watch?v=<%= video.id %>"><p><%= video.info["title"] %></p></a>
<% end %>
</div>
-</div> <a class="link" href="/watch?v=<%= video.id %>"><p><%= video.info["title"] %></p></a>
- <% end %>
- </div>
</div>
</div> \ No newline at end of file