Added alert to withdrawn events
Signed-off-by: Carlos Coelho <carlos@pencillabs.com>
This commit is contained in:
parent
72c71fc510
commit
e268acec23
1 changed files with 8 additions and 0 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue