event title and conference title in 2 different lines now in view

This commit is contained in:
raluka 2015-09-03 17:03:05 +02:00
parent cd2a52023b
commit 7ba3cfd473
4 changed files with 9 additions and 8 deletions

View file

@ -5,8 +5,9 @@
%panel
%panel.panel-header
%h4.title
= link_to event.title, admin_conference_event_path(event.conference.short_title, event)
= conference.title
%ul.list-unstyled
%li= link_to event.title, admin_conference_event_path(event.conference.short_title, event)
%li= conference.title
%hr
-event.comment_threads.each do |comment|
%panel-body

View file

@ -5,8 +5,9 @@
%panel
%panel.panel-header
%h4.title
= link_to event.title, admin_conference_event_path(event.conference.short_title, event)
= conference.title
%ul.list-unstyled
%li= link_to event.title, admin_conference_event_path(event.conference.short_title, event)
%li= conference.title
%hr
-event.comment_threads.find_comments_by_user(current_user).each do |comment|
%panel-body

View file

@ -5,8 +5,9 @@
%panel
%panel.panel-header
%h4.title
= link_to event.title, admin_conference_event_path(event.conference.short_title, event)
= conference.title
%ul.list-unstyled
%li= link_to event.title, admin_conference_event_path(event.conference.short_title, event)
%li= conference.title
%hr
-event.comment_threads.find_since_last_login(current_user).each do |comment|
%panel-body

View file

@ -1,2 +0,0 @@
%li= link_to("New comment for: #{unread_comment.commentable.title}", admin_conference_event_path(unread_comment.commentable.conference.short_title, unread_comment.commentable_id))