Merge pull request #2737 from evazion/fix-link-rules

Link self-upload disclaimer on /uploads; link howto:flag in flag notices.
This commit is contained in:
Albert Yi
2016-10-24 17:23:50 -07:00
committed by GitHub
2 changed files with 6 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<% if post.is_flagged? && !post.is_deleted? && post.flags.any? %>
<div class="ui-corner-all ui-state-highlight notice notice-flagged">
<p>This post was flagged for deletion: </p>
<p>This post was flagged for review (<%= link_to "learn more", wiki_pages_path(:title => "howto:flag") %>): </p>
<%= post_flag_reasons(post) %>
</div>
@@ -79,4 +79,4 @@
</div>
<% end %>
<%= render "post_disapprovals/detailed_rejection_dialog" %>
<%= render "post_disapprovals/detailed_rejection_dialog" %>

View File

@@ -4,7 +4,10 @@
<% if CurrentUser.can_upload? %>
<div id="upload-guide-notice">
<p>Before uploading, please read the <%= link_to "how to upload guide", wiki_pages_path(:title => "howto:upload") %>.</p>
<p><strong>Before uploading, please read the <%= link_to "how to upload guide", wiki_pages_path(:title => "howto:upload") %></strong>.
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.</p>
</div>
<% unless CurrentUser.can_upload_free? %>