Merge pull request #12 from CactusPuppy/176895037-add-link-to-view-event-from-admin-page

Add link to view event from admin page
This commit is contained in:
lzy-1006 2021-03-01 21:45:32 -08:00 committed by GitHub
commit 9ee29f6daa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View file

@ -7,6 +7,8 @@
%small
= @event.subtitle
.btn-group.pull-right
- if @event.public
= link_to 'Preview', conference_program_proposal_path(@conference.short_title, @event.id), class: 'btn btn-mini btn-primary'
= link_to 'Registrations', registrations_admin_conference_program_event_path(@conference.short_title, @event), class: 'btn btn-success'
= link_to 'Edit', edit_admin_conference_program_event_path(@conference.short_title, @event), class: 'btn btn-mini btn-primary'