Files
danbooru/app/views/posts/partials/show/_embedded.html.erb
evazion eab4e165b1 posts: update safe mode help link.
Change this message:

    2 post(s) on this page were hidden by safe mode. Go to Danbooru or
    disable safe mode to view them (learn more).

To link to [[help:safe mode]] instead of [[help:user settings]].
2021-09-11 19:48:15 -05:00

18 lines
899 B
Plaintext

<% if post.banblocked? -%>
<p>The artist requested removal of this image.</p>
<% 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 <%= 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:safe_mode" %>).</p>
<% elsif post.is_flash? -%>
<%= render("posts/partials/show/flash", post: post) -%>
<% elsif post.is_video? -%>
<%= render("posts/partials/show/video", post: post) -%>
<% elsif post.is_ugoira? -%>
<%= render("posts/partials/show/ugoira", post: post) -%>
<% elsif !post.is_image? -%>
<%= render("posts/partials/show/download", post: post) -%>
<% elsif post.is_image? -%>
<%= render("posts/partials/show/image", post: post) -%>
<% end %>