This commit is contained in:
Toks
2013-04-17 20:09:48 -04:00
parent 30d7e22522
commit 53ee04d6a2
7 changed files with 48 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
<ul>
<li>ID: <%= post.id %></li>
<li>Uploader: <%= link_to_user_unless(post.uploader.nil?, post.uploader) + "&nbsp;".html_safe + link_to("&raquo;".html_safe, posts_path(:tags => "user:#{post.uploader.name}")) %></li>
<li>Uploader: <%= link_to_user(post.uploader) + "&nbsp;".html_safe + link_to("&raquo;".html_safe, posts_path(:tags => "user:#{post.uploader.name}")) %></li>
<li>Date: <%= link_to time_ago_in_words_tagged(post.created_at), posts_path(:tags => "date:#{post.created_at.to_date}") %></li>
<% if post.approver %>
<li>Approver: <%= link_to_user(post.approver) %></li>