summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-03-26 13:01:23 -0500
committerOmar Roth <omarroth@hotmail.com>2019-03-26 13:01:23 -0500
commit8d9569e06b8419b748ff951f651b4254db29921e (patch)
tree2130d595ddaef5fe190599dbedb6a8194381ecdd /src
parent02f8e657f36ee0bf88b8b6731d11b872e815c162 (diff)
downloadinvidious-8d9569e06b8419b748ff951f651b4254db29921e.tar.gz
invidious-8d9569e06b8419b748ff951f651b4254db29921e.tar.bz2
invidious-8d9569e06b8419b748ff951f651b4254db29921e.zip
Add 'unlisted' icon to watch page
Diffstat (limited to 'src')
-rw-r--r--src/invidious/views/watch.ecr3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr
index 0c812757..34c3bf4d 100644
--- a/src/invidious/views/watch.ecr
+++ b/src/invidious/views/watch.ecr
@@ -44,6 +44,9 @@
</a>
<% end %>
</h1>
+<% if !video.is_listed %>
+<h3><i class="icon ion-ios-lock"></i> <%= translate(locale, "Unlisted") %></h3>
+<% end %>
<% if !reason.empty? %>
<h3><%= reason %></h3>
<% end %>