diff --git a/app/views/artists/index.html.erb b/app/views/artists/index.html.erb index 908d50184..a84291dc2 100644 --- a/app/views/artists/index.html.erb +++ b/app/views/artists/index.html.erb @@ -11,15 +11,17 @@ <% @artists.each do |artist| %> - <%= content_tag(:tr, :id => "artist-#{artist.id}") do %> - - <%= link_to h(artist.name), artist_path(artist) %> - <% if !artist.group_name.blank? %> - (group: <%= link_to(artist.group_name, artist_path(artist)) %>) - <% end %> - - <%= artist.other_names %> - <%= artist.status %> + <% if artist.visible? %> + <%= content_tag(:tr, :id => "artist-#{artist.id}") do %> + + <%= link_to h(artist.name), artist_path(artist) %> + <% if !artist.group_name.blank? %> + (group: <%= link_to(artist.group_name, artist_path(artist)) %>) + <% end %> + + <%= artist.other_names %> + <%= artist.status %> + <% end %> <% end %> <% end %>