fix broken links
This commit is contained in:
@@ -165,7 +165,7 @@ class PostPresenter < Presenter
|
|||||||
|
|
||||||
def image_html(template)
|
def image_html(template)
|
||||||
return template.content_tag("p", "The artist requested removal of this image") if @post.is_banned? && !CurrentUser.user.is_gold?
|
return template.content_tag("p", "The artist requested removal of this image") if @post.is_banned? && !CurrentUser.user.is_gold?
|
||||||
return template.content_tag("p", template.link_to("You need a gold account to see this image.", template.upgrade_information_users_path)) if !Danbooru.config.can_user_see_post?(CurrentUser.user, @post)
|
return template.content_tag("p", template.link_to("You need a gold account to see this image.", template.new_user_upgrade_path)) if !Danbooru.config.can_user_see_post?(CurrentUser.user, @post)
|
||||||
return template.content_tag("p", "This image is unavailable") if !@post.visible?
|
return template.content_tag("p", "This image is unavailable") if !@post.visible?
|
||||||
|
|
||||||
if @post.is_flash?
|
if @post.is_flash?
|
||||||
|
|||||||
@@ -100,7 +100,7 @@
|
|||||||
<li><%= link_to("Feedback", user_feedbacks_path) %></li>
|
<li><%= link_to("Feedback", user_feedbacks_path) %></li>
|
||||||
<li><%= link_to("Signup", new_user_path) %></li>
|
<li><%= link_to("Signup", new_user_path) %></li>
|
||||||
<li><%= link_to("Terms of Service", terms_of_service_path) %></li>
|
<li><%= link_to("Terms of Service", terms_of_service_path) %></li>
|
||||||
<li><%= link_to("Upgrade Information", upgrade_information_users_path) %></li>
|
<li><%= link_to("Upgrade Information", new_user_upgrade_path) %></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul>
|
<ul>
|
||||||
<li><h1>Admin</h1></li>
|
<li><h1>Admin</h1></li>
|
||||||
|
|||||||
Reference in New Issue
Block a user