profiles: add 'refresh' link next to post changes count.
Remove the 'Refresh counts' link from the site map. Put it in the user's profile instead.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div id="a-new">
|
||||
<h1>Refresh Counts</h1>
|
||||
|
||||
<p>If you believe the upload counts on your profile are incorrect, you can request a refresh to recalculate the counts.</p>
|
||||
<p>If you believe the upload or post changes statistics on your profile are incorrect, you can request a refresh to recalculate them.</p>
|
||||
|
||||
<%= form_tag(maintenance_user_count_fixes_path) do %>
|
||||
<%= submit_tag "Continue" %>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<td>
|
||||
<%= presenter.upload_count(self) %>
|
||||
<% if presenter.has_uploads? %>
|
||||
[<%= link_to "tag changes report", reports_upload_tags_path(user_id: user.id) %>]
|
||||
(<%= link_to "tag changes report", reports_upload_tags_path(user_id: user.id) %>)
|
||||
<% end %>
|
||||
<% if CurrentUser.is_moderator? %>
|
||||
[<%= link_to "sample", posts_path(:tags => "user:#{user.name} order:random limit:300") %>]
|
||||
@@ -82,7 +82,10 @@
|
||||
<td>
|
||||
<%= presenter.post_version_count(self) %>
|
||||
<% if CurrentUser.is_moderator? && UserRevert.can_revert?(user)%>
|
||||
[<%= link_to "revert all", new_user_revert_path(user_id: user.id) %>]
|
||||
(<%= link_to "revert all", new_user_revert_path(user_id: user.id) %>)
|
||||
<% end %>
|
||||
<% if CurrentUser.id == user.id %>
|
||||
(<%= link_to "refresh", new_maintenance_user_count_fixes_path %>)
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user