sign-in check added
This commit is contained in:
parent
2fa7ed5542
commit
5121e0ba29
1 changed files with 4 additions and 3 deletions
|
|
@ -25,9 +25,10 @@
|
|||
.col-md-4
|
||||
%p{style: "margin-top: 20px"}
|
||||
- if @event_schedule&.start_time
|
||||
= link_to google_calendar_link(@event_schedule), target: '_blank', class: 'btn btn-success btn-mini' do
|
||||
%i.fa.fa-calendar
|
||||
Add to Google Calendar (beta)
|
||||
- if user_signed_in?
|
||||
= link_to google_calendar_link(@event_schedule), target: '_blank', class: 'btn btn-success btn-mini' do
|
||||
%i.fa.fa-calendar
|
||||
Add to Google Calendar (beta)
|
||||
- if can?(:update, @event) && @event.require_registration?
|
||||
= link_to 'Registrations', registrations_conference_program_proposal_path(@conference.short_title, @event), class: 'btn btn-mini btn-success'
|
||||
- if can?(:edit, @event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue