neocities/views/_news_profile_comment.erb
2014-05-01 14:09:45 -07:00

10 lines
No EOL
509 B
Text

<div class="news-item comment for-me">
<div class="title">
<div class="icon" style="background-image:url(<%= profile_comment.actioning_site.screenshot_url('index.html', '82x62') %>);"></div>
<a href="" class="user"><%= profile_comment.actioning_site.username %></a>
<span class="date"><%= profile_comment.created_at.ago %></span>
<div class="comment"><%= profile_comment.message %></div>
</div>
<%== erb :'_news_actions', layout: false, locals: {event: profile_comment.event} %>
</div>