Inlined the if statement

This commit is contained in:
jonas-w 2022-02-03 22:14:00 +01:00
parent 66340281e6
commit c584e31657
3 changed files with 3 additions and 12 deletions

View File

@ -20,10 +20,7 @@
<div class="pure-u-2-3">
<div class="channel-profile">
<img src="/ggpht<%= URI.parse(channel.author_thumbnail).request_target %>">
<span><%= author %></span>
<% if channel.verified %>
<i class="icon ion ion-md-checkmark-circle"></i>
<% end %>
<span><%= author %></span><% if channel.verified %><i class="icon ion ion-md-checkmark-circle"></i><% end %>
</div>
</div>
<div class="pure-u-1-3">

View File

@ -19,10 +19,7 @@
<div class="pure-u-2-3">
<div class="channel-profile">
<img src="/ggpht<%= URI.parse(channel.author_thumbnail).request_target %>">
<span><%= author %></span>
<% if channel.verified %>
<i class="icon ion ion-md-checkmark-circle"></i>
<% end %>
<span><%= author %></span><% if channel.verified %><i class="icon ion ion-md-checkmark-circle"></i><% end %>
</div>
</div>
<div class="pure-u-1-3" style="text-align:right">

View File

@ -19,10 +19,7 @@
<div class="pure-u-2-3">
<div class="channel-profile">
<img src="/ggpht<%= URI.parse(channel.author_thumbnail).request_target %>">
<span><%= author %></span>
<% if channel.verified %>
<i class="icon ion ion-md-checkmark-circle"></i>
<% end %>
<span><%= author %></span><% if channel.verified %><i class="icon ion ion-md-checkmark-circle"></i><% end %>
</div>
</div>
<div class="pure-u-1-3" style="text-align:right">