osem-fcy/app/views/admin/comments/_unread_comments.html.haml

17 lines
540 B
Text
Raw Normal View History

2015-09-10 11:46:49 +02:00
- @unread_comments.each do |conference, events|
.well
%p.h4= conference.title
2015-09-09 12:15:59 +02:00
- events.each do |event, comments|
2015-09-10 11:46:49 +02:00
%h3.title
= link_to event.title, admin_conference_event_path(event.conference.short_title, event)
%body
- comments.each do |comment|
%hr
%ul.list-unstyled
%ul.list-inline
%li
%h5.strong Posted by: #{comment.user.name}
%li
%h5.strong Created at: #{comment.created_at}
%li= comment.body