Added alert to withdrawn events

Signed-off-by: Carlos Coelho <carlos@pencillabs.com>
This commit is contained in:
Carlos Coelho 2016-03-14 16:55:22 -03:00
parent 72c71fc510
commit e268acec23

View file

@ -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'}}
&times;
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}