artists: make artist pages less shit.
* Group URLs by site. * List most important URLs first and dead URLs last. * Add site icons next to URLs. * Put other names and group name beneath the artist name, instead of beneath the wiki.
This commit is contained in:
@@ -3,21 +3,9 @@
|
||||
|
||||
<div id="c-artists">
|
||||
<div id="a-show">
|
||||
<h1>Artist: <%= link_to @artist.pretty_name, posts_path(tags: @artist.name), class: tag_class(@artist.tag) %></h1>
|
||||
|
||||
<% if @artist.is_banned? && !policy(@artist).can_view_banned? %>
|
||||
<p>The artist requested removal of this page.</p>
|
||||
<% else %>
|
||||
<% if @artist.wiki_page.present? && !@artist.wiki_page.is_deleted? %>
|
||||
<div class="artist-wiki">
|
||||
<div class="prose">
|
||||
<%= format_text(@artist.wiki_page.body, :disable_mentions => true) %>
|
||||
</div>
|
||||
|
||||
<p><%= link_to "View wiki page", @artist.wiki_page %></p>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
<% if @artist.tag.present? && @artist.tag.post_count > 0 %>
|
||||
|
||||
Reference in New Issue
Block a user