diff --git a/app/controllers/uploads_controller.rb b/app/controllers/uploads_controller.rb index 4f1e20bfc..560750ca2 100644 --- a/app/controllers/uploads_controller.rb +++ b/app/controllers/uploads_controller.rb @@ -5,6 +5,7 @@ class UploadsController < ApplicationController def new @upload = Upload.new + @upload_notice_wiki = WikiPage.titled(Danbooru.config.upload_notice_wiki_page).first if params[:url] @normalized_url = params[:url] headers = default_headers() diff --git a/app/views/uploads/new.html.erb b/app/views/uploads/new.html.erb index 5ea88ebc4..538d5a33b 100644 --- a/app/views/uploads/new.html.erb +++ b/app/views/uploads/new.html.erb @@ -4,22 +4,13 @@ <% if CurrentUser.can_upload? %>
Before uploading, please read the <%= link_to "how to upload guide", wiki_pages_path(:title => "howto:upload") %>. - If you plan to upload your own art, you should read <%= Danbooru.config.app_name %>'s - <%= link_to "specific policy guidance", wiki_pages_path(:title => "howto:upload", :anchor => "dtext-self-upload") %> - first. More suitable sites to uploading your own artwork include DeviantArt, Tumblr, Twitter, Pixiv, etc.
+ <%= format_text(@upload_notice_wiki.body) %>You can upload <%= pluralize CurrentUser.upload_limit, "more post" %> today.
<% end %> - <% if params[:url].blank? %> -You should be using Danbooru's official <%= link_to "upload bookmarklet", bookmarklet_path %> to upload! It makes uploading more convenient and does several things for you automatically such as fixing incorrect sources and optionally copying the artist's commentary.
-