Add new upload limit system (fix #4234).
This commit is contained in:
@@ -66,6 +66,15 @@
|
||||
<td><%= presenter.upload_limit(self) %> (<%= link_to_wiki "help", "about:upload_limits" %>)</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>New Upload Limit</th>
|
||||
<td>
|
||||
<%= link_to user.new_upload_limit.used_upload_slots, posts_path(tags: "user:#{user.name} status:pending") %>
|
||||
/
|
||||
<%= tag.abbr user.new_upload_limit.upload_slots, title: "Next level: #{user.new_upload_limit.approvals_on_current_level} / #{user.new_upload_limit.approvals_for_next_level} approvals" %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Uploads</th>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user