hide tag fix for large post counts

This commit is contained in:
albert
2013-03-17 23:03:51 -04:00
parent c6a814ce3f
commit 5153c376f1
2 changed files with 6 additions and 2 deletions

View File

@@ -7,7 +7,9 @@
<% if @tag %>
<li>|</li>
<li><%= link_to "Edit", edit_tag_path(@tag) %></li>
<li><%= link_to "Fix", new_tag_correction_path(:tag_id => @tag.id) %></li>
<% if @tag.post_count < 1_000 %>
<li><%= link_to "Fix", new_tag_correction_path(:tag_id => @tag.id) %></li>
<% end %>
<% end %>
</menu>
<% end %>

View File

@@ -18,7 +18,9 @@
</td>
<td>
<%= link_to "edit", edit_tag_path(tag) %>
| <%= link_to "fix", new_tag_correction_path(:tag_id => tag.id) %>
<% if tag.post_count < 1_000 %>
| <%= link_to "fix", new_tag_correction_path(:tag_id => tag.id) %>
<% end %>
</td>
</tr>
<% end %>