<% link_class = "media-box__header media-box__header--channel media-box__header--link" %>
<%= @channel.title || @channel.short_name %>
<%= if @channel.is_live do %>
LIVE NOW
<%= @channel.viewers %> <%= pluralize("viewer", "viewers", @channel.viewers) %> <% else %>
OFF AIR
<% end %>
<%= if @channel.nsfw do %>
NSFW
<% end %>
{@channel.title}
<%= if @channel.associated_artist_tag do %> <%= @channel.associated_artist_tag.name %> <% else %>
No artist tag
<% end %> <%= if can?(@conn, :edit, @channel) do %> Edit Delete <% end %> <%= render(PhilomenaWeb.Channel.SubscriptionView, "_subscription.html", conn: @conn, watching: @subscriptions[@channel.id], channel: @channel) %>