mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
added pretty view for comments
This commit is contained in:
parent
21c10166ec
commit
208478ff2d
3 changed files with 45 additions and 27 deletions
|
|
@ -1,10 +1,16 @@
|
|||
.panel.well
|
||||
%ul
|
||||
- @unread_comments.each do |conference, events|
|
||||
%i.li= conference.title
|
||||
- @unread_comments.each do |conference, events|
|
||||
.well
|
||||
%p.h4= conference.title
|
||||
- events.each do |event, comments|
|
||||
%b.li= event.title
|
||||
- comments.each do |comment|
|
||||
%li= comment.body
|
||||
%li= comment.user.name
|
||||
%li= comment.created_at
|
||||
%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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue