Add verified badge to channel pages

This commit is contained in:
syeopite 2021-04-06 00:46:46 -07:00
parent 5832763b34
commit 885120bd08
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82
3 changed files with 11 additions and 0 deletions

View File

@ -20,6 +20,11 @@ body {
height: auto;
}
.channel_badge {
margin-left: 3px;
font-size: 1em;
}
body a.channel-owner {
background-color: #008bec;
color: #fff;

View File

@ -18,6 +18,9 @@
<div class="channel-profile">
<img src="/ggpht<%= URI.parse(channel.author_thumbnail).request_target %>">
<span><%= channel.author %></span>
<% if channel.author_verified %>
<a class="channel_badge"><i class="icon ion-md-checkmark-circle"></i></a>
<% end %>
</div>
</div>
<div class="pure-u-1-3" style="text-align:right">

View File

@ -17,6 +17,9 @@
<div class="channel-profile">
<img src="/ggpht<%= URI.parse(channel.author_thumbnail).request_target %>">
<span><%= channel.author %></span>
<% if channel.author_verified %>
<a class="channel_badge"><i class="icon ion-md-checkmark-circle"></i></a>
<% end %>
</div>
</div>
<div class="pure-u-1-3" style="text-align:right">