display uploader for mods

This commit is contained in:
r888888888
2018-02-01 17:10:09 -08:00
parent da2864e233
commit d10c6a3af7

View File

@@ -1,6 +1,9 @@
<ul itemscope itemtype="http://schema.org/ImageObject">
<li>ID: <%= post.id %></li>
<li>Tagger: <%= link_to_user(post.keeper) %></li>
<% if CurrentUser.is_moderator? %>
<li>Uploader: <%= link_to_user(post.uploader) %></li>
<% end %>
<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 %>">