Standardize links to wiki help pages.
* Fix inconsistencies in how wiki pages were linked. * Link directly to the wiki instead of to a title search that is expected to redirect to the wiki.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<% elsif post.levelblocked? -%>
|
||||
<p><%= link_to("You need a gold account to see this image", new_user_upgrade_path) %>.</p>
|
||||
<% elsif post.safeblocked? -%>
|
||||
<p>This image is unavailable on safe mode (<%= Danbooru.config.app_name %>). Go to <%= link_to("Danbooru", "https://danbooru.donmai.us") %> or disable safe mode to view (<%= link_to("learn more", wiki_pages_path(title: "help:user_settings")) -%>).</p>
|
||||
<p>This image is unavailable on safe mode (<%= Danbooru.config.app_name %>). Go to <%= link_to("Danbooru", "https://danbooru.donmai.us") %> or disable safe mode to view (<%= link_to_wiki "learn more", "help:user_settings" %>).</p>
|
||||
<% elsif post.is_flash? -%>
|
||||
<%= render("posts/partials/show/flash", post: post) -%>
|
||||
<% elsif post.is_video? -%>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<% if post.is_flagged? && !post.is_deleted? && post.flags.any? %>
|
||||
<div class="notice notice-small post-notice post-notice-flagged">
|
||||
<p>This post was flagged for review (<%= link_to "learn more", wiki_pages_path(:title => "howto:flag") %>): </p>
|
||||
<p>This post was flagged for review (<%= link_to_wiki "learn more", "howto:flag" %>): </p>
|
||||
|
||||
<%= render "post_flags/reasons", flags: post.flags %>
|
||||
</div>
|
||||
@@ -33,9 +33,9 @@
|
||||
<div class="notice notice-small post-notice post-notice-pending">
|
||||
<% if post.is_pending? %>
|
||||
This post is pending approval.
|
||||
(<%= link_to "learn more", wiki_pages_path(:title => "about:mod_queue") %>)
|
||||
(<%= link_to_wiki "learn more", "about:mod_queue" %>)
|
||||
<% else %>
|
||||
This post was flagged and is pending approval (<%= link_to "learn more", wiki_pages_path(:title => "about:mod_queue") %>)
|
||||
This post was flagged and is pending approval (<%= link_to_wiki "learn more", "about:mod_queue" %>)
|
||||
<% end %>
|
||||
|
||||
<%= render "post_disapprovals/counts", :disapprovals => post.disapprovals, :post => post %>
|
||||
|
||||
Reference in New Issue
Block a user