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

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

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

Loading…
Cancel
Save