updated rails to 4.2.4
This commit is contained in:
parent
37697517df
commit
42e8bb11ea
55 changed files with 766 additions and 365 deletions
12
app/views/admin/comments/_unread_comments.html.haml
Normal file
12
app/views/admin/comments/_unread_comments.html.haml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
- @unread_comments.each do |conference, events|
|
||||
.panel.panel-default
|
||||
.panel-heading
|
||||
%h4.title.panel-title= conference.title
|
||||
.panel-body
|
||||
- events.each do |event, comments|
|
||||
.notifications
|
||||
%h4.title= link_to event.title, admin_conference_event_path(event.conference.short_title, event)
|
||||
%hr
|
||||
- comments.each do |comment|
|
||||
%h5.strong Posted by: #{comment.user.name} | Created at: #{comment.created_at}
|
||||
%p= comment.body
|
||||
Loading…
Add table
Add a link
Reference in a new issue