#1902: Add forum/comment creator data

This commit is contained in:
Toks
2013-08-07 20:15:35 -04:00
parent 6034420e3b
commit 11984fe8ed
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<% if CurrentUser.is_janitor? || !forum_post.is_deleted? %>
<article id="forum_post_<%= forum_post.id %>" data-forum-post-id="<%= forum_post.id %>">
<article id="forum_post_<%= forum_post.id %>" data-forum-post-id="<%= forum_post.id %>" data-creator="<%= forum_post.creator.name %>">
<div class="author">
<h4>
<%= link_to_user forum_post.creator %>