This commit is contained in:
r888888888
2018-05-26 13:04:08 -07:00
parent ca842cc6d9
commit 97887a3241
2 changed files with 6 additions and 2 deletions

View File

@@ -30,7 +30,11 @@
<ul>
<% artist.urls.each do |url| %>
<li>
<%= link_to h(url.to_s), h(url) %>
<% if url.is_active? %>
<%= link_to h(url.to_s), h(url) %>
<% else %>
<del><%= h(url.url) %></del>
<% end %>
<% if CurrentUser.user.is_moderator? %>
[<%= link_to("mass edit", edit_moderator_tag_path(:antecedent => "-#{artist.name} source:#{ArtistUrl.normalize_for_search(url.url)}", :consequent => artist.name)) %>]
<% end %>