This commit is contained in:
jomo
2014-04-21 01:46:31 +02:00
parent 9f120fde22
commit 67d9cbbecb
4 changed files with 4 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
<%= link_to(image_tag(@thread.author.avatar_url(64), class: "avatar"), @thread.author, title: @thread.author.ign) %>
<div class="header">
<%= render partial: "users/username", locals: { user: @thread.author } %> <time><%= link_to @thread.created_at.strftime("%e. %b %Y, %H:%m"), p %></time>
<%= link_to "edit", edit_forumthread_path( @thread), class: "editlink" if mod? %>
<%= link_to "edit", edit_forumthread_path( @thread), class: "editlink" if (@thread.author.is?(current_user) || mod?) %>
</div>
<div class="items">
<div class="item content">