hide uploader information on posts/show page, add keeper information

This commit is contained in:
r888888888
2018-01-18 12:47:14 -08:00
parent 146b27f4cf
commit 32cc508edb
6 changed files with 222 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<ul itemscope itemtype="http://schema.org/ImageObject">
<li>ID: <%= post.id %></li>
<li>Uploader: <%= link_to_user(post.uploader) + "&nbsp;".html_safe + link_to("&raquo;".html_safe, posts_path(:tags => "user:#{post.uploader.name}"), :rel => "nofollow") %></li>
<li>Keeper: <%= link_to_user(post.keeper) %></li>
<li>
Date: <%= link_to time_ago_in_words_tagged(post.created_at), posts_path(:tags => "date:#{post.created_at.to_date}"), :rel => "nofollow" %>
<meta itemprop="uploadDate" content="<%= post.created_at.iso8601 %>">