From 3daf624d7529ef50ea22c1a4620bac9a82fd122a Mon Sep 17 00:00:00 2001 From: richiethomas <=> Date: Mon, 19 Sep 2016 12:51:27 -0400 Subject: [PATCH] Fix admin conferences program events#show page, now only shows a red X when commercial is missing --- app/views/admin/events/show.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/events/show.html.haml b/app/views/admin/events/show.html.haml index 6db61172..d961f483 100644 --- a/app/views/admin/events/show.html.haml +++ b/app/views/admin/events/show.html.haml @@ -71,8 +71,8 @@ %span{'class'=>[icon_for_todo(progress_status['subtitle']), 'fa-lg']} %tr %td= link_to 'Add a commercial', edit_conference_program_proposal_path(@event.program.conference.short_title, @event, anchor: 'commercials-content') - %td{'class'=>class_for_todo(progress_status['commercial'])} - %span{'class'=>[icon_for_todo(progress_status['commercial']), 'fa-lg']} + %td{'class'=>class_for_todo(progress_status['commercials'])} + %span{'class'=>[icon_for_todo(progress_status['commercials']), 'fa-lg']} - unless progress_status['track'].nil? %tr %td= link_to 'Add a track', edit_conference_program_proposal_path(@event.program.conference.short_title, @event)