diff --git a/app/views/tag_aliases/index.html.erb b/app/views/tag_aliases/index.html.erb index 60873b5af..549c55a1a 100644 --- a/app/views/tag_aliases/index.html.erb +++ b/app/views/tag_aliases/index.html.erb @@ -37,7 +37,7 @@ | <%= link_to "Edit", edit_tag_alias_path(tag_alias) %> <% end %> - <% if tag_alias.deletable_by?(CurrentUser.user) %> + <% if tag_alias.is_pending? && tag_alias.editable_by?(CurrentUser.user) %> | <%= link_to "Delete", tag_alias_path(tag_alias), :remote => true, :method => :delete, :data => {:confirm => "Are you sure you want to delete this alias?"} %> <% end %> diff --git a/app/views/tag_implications/index.html.erb b/app/views/tag_implications/index.html.erb index cd0727b71..a1b5fde24 100644 --- a/app/views/tag_implications/index.html.erb +++ b/app/views/tag_implications/index.html.erb @@ -31,7 +31,7 @@