Inlined the if statement

pull/2859/head
jonas-w 3 years ago
parent 66340281e6
commit c584e31657

@ -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">

@ -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">

@ -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">

Loading…
Cancel
Save