Fix #4924: Moderator dashboard shouldn't show a "Promote" link that's unusable by non-moderators

Remove these links entirely.
This commit is contained in:
evazion
2021-11-19 17:37:55 -06:00
parent 5d55b722a8
commit 330a412714
7 changed files with 6 additions and 25 deletions

View File

@@ -9,7 +9,7 @@
<tbody>
<% @dashboard.notes.each do |activity| %>
<tr>
<td><%= mod_link_to_user(activity.user, :positive) %></td>
<td><%= link_to_user(activity.user) %></td>
<td><%= link_to activity.count, note_versions_path(:search => {:updater_id => activity.user.id}) %></td>
</tr>
<% end %>