Issue#15: Added Comment Notifications: notification_emails and comments view

This commit is contained in:
raluka 2015-07-17 18:55:47 +02:00
parent a73ca335a9
commit 38e8be8793
16 changed files with 155 additions and 13 deletions

View file

@ -0,0 +1,16 @@
.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