diff --git a/app/views/proposals/show.html.haml b/app/views/proposals/show.html.haml index 5d2dd948..d80e912f 100644 --- a/app/views/proposals/show.html.haml +++ b/app/views/proposals/show.html.haml @@ -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)