Cleanup author/profile links
parent
3b2dc7f998
commit
816e09703a
@ -1,11 +1,11 @@
|
|||||||
<div class="author">
|
<div class="author">
|
||||||
<%= @asciicast.user.avatar_profile_link %>
|
<%= @asciicast.author_img_link %>
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
<%= @asciicast.author_profile_link %>
|
<%= @asciicast.author_link %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<% if @asciicast.user.asciicasts_count -%>
|
<% if @asciicast.user -%>
|
||||||
<p><%= @asciicast.user.asciicasts_count %> asciicasts</p>
|
<p><%= @asciicast.user.asciicasts_count %> asciicasts</p>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue