mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 12:14:03 +00:00
16 lines
616 B
Text
16 lines
616 B
Text
.panel.well
|
|
-@ordered_events.each do |event|
|
|
- if event.comment_threads.find_since_last_login(current_user).count > 0
|
|
%panel
|
|
%panel.panel-header
|
|
%h4.title
|
|
= link_to event.title, admin_conference_event_path(event.conference.short_title, event)
|
|
%hr
|
|
-event.comment_threads.find_since_last_login(current_user).each do |comment|
|
|
%panel-body
|
|
%ul.list-unstyled
|
|
%li= comment.body
|
|
%ul.list-inline
|
|
%li Posted by: #{comment.user.name}
|
|
%li Created at: #{comment.created_at}
|
|
%hr
|