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:
@@ -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