Sha256: fdd25b544dafc8cbc9c0acf84ddf6f0d2b80d2c823e6d452180dba4c5761d66c

Contents?: true

Size: 1.25 KB

Versions: 46

Compression:

Stored size: 1.25 KB

Contents

-# In progress registration
- registration = EffectiveEvents.EventRegistration.in_progress.for(current_user).first
- datatable = EffectiveResources.best('EffectiveEventRegistrationsDatatable').new(self, namespace: :effective)

- if registration.present?
  %h2 In Progress Event Registrations

  %p
    Your registration for
    = link_to(registration.event, effective_events.event_path(registration.event))
    is incomplete

  %p
    Please
    = link_to("Continue registration for #{registration.event}", effective_events.event_event_registration_build_path(registration.event, registration, registration.next_step), 'data-turbolinks' => false, class: 'btn btn-primary')
    or you can
    = link_to('Abandon registration', effective_events.event_event_registration_path(registration.event, registration), 'data-confirm': "Really delete #{registration}?", 'data-method': :delete, class: 'btn btn-danger')
    to register for another event.

  %hr

%h2 Event Registrations

- if datatable.present?
  = render_simple_datatable(datatable)
- else
  %p You have no past event registrations. When you do, we'll show them here.

-# TODO enable an all events page
- if false # if registration.blank?
  %p= link_to 'View all Events', effective_events.events_path, class: 'btn btn-primary'

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
effective_events-0.10.0 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.9.3 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.9.2 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.9.1 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.9.0 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.8.0 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.7.4 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.7.3 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.7.2 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.7.1 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.7.0 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.6.13 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.6.12 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.6.11 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.6.10 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.6.9 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.6.8 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.6.7 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.6.6 app/views/effective/event_registrations/_dashboard.html.haml
effective_events-0.6.5 app/views/effective/event_registrations/_dashboard.html.haml