diff --git a/app/views/admin/conference/show.html.haml b/app/views/admin/conference/show.html.haml index 7ce1c408..5e25a7af 100644 --- a/app/views/admin/conference/show.html.haml +++ b/app/views/admin/conference/show.html.haml @@ -1,3 +1,11 @@ +- if !@withdrawn_events.empty? + .alert.alert-warning.alert-dismissible{role: 'alert'} + %button.close{data: {dismiss: 'alert'}, aria: {label: 'Close'}, type: 'button'} + %span{aria: {hidden: 'true'}} + × + Sadly #{pluralize(@withdrawn_events.count, 'event')} #{'was'.pluralize(@withdrawn_events.count)} withdrawn. + = link_to 'Click here', admin_conference_program_events_path(@conference.short_title) + %h1 %span.fa.fa-tachometer Dashboard for #{@conference.title}