hide tag fix for large post counts
This commit is contained in:
@@ -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 %>
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user