This commit is contained in:
albert
2013-03-31 17:53:51 -04:00
parent 4946f23dc0
commit 0e052f2fd7
3 changed files with 7 additions and 2 deletions

View File

@@ -24,7 +24,9 @@
<section>
<h1>History</h1>
<ul>
<li><%= fast_link_to "Tags", post_versions_path(:search => {:post_id => @post.id}) %></li>
<% if Danbooru.config.can_user_see_post?(CurrentUser.user, @post) %>
<li><%= fast_link_to "Tags", post_versions_path(:search => {:post_id => @post.id}) %></li>
<% end %>
<li><%= fast_link_to "Notes", note_versions_path(:search => {:post_id => @post.id}) %></li>
</ul>
</section>