Fix #4689: Remove 7 day waiting period for new uploaders.

This commit is contained in:
evazion
2021-02-04 00:14:21 -06:00
parent b8dbc7f68a
commit 4c0c3360e7
3 changed files with 6 additions and 21 deletions

View File

@@ -2,7 +2,9 @@
<div id="a-new" data-image-size="small">
<h1>Upload</h1>
<% if !CurrentUser.user.upload_limit.limited? %>
<% if CurrentUser.user.upload_limit.limited? %>
<h2 style="margin-bottom: 1em;">You have reached your upload limit</h2>
<% else %>
<%= embed_wiki("help:upload_notice", id: "upload-guide-notice") %>
<% unless CurrentUser.can_upload_free? %>
@@ -79,8 +81,6 @@
<%= render "related_tags/container" %>
<% end %>
<% else %>
<h2 style="margin-bottom: 1em;">You <%= CurrentUser.user.upload_limit.limit_reason %></h2>
<% end %>
</div>
</div>