Add buttons in the interface

This commit is contained in:
Sasi Olin 2021-02-14 23:21:56 +01:00 committed by Henne Vogelsang
parent d540092bfc
commit 613161bbc7
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
2 changed files with 12 additions and 3 deletions

View file

@ -18,6 +18,11 @@
#antiquated.collapse #antiquated.collapse
- @antiquated.each do |conference| - @antiquated.each do |conference|
= render '/conferences/conference_details', conference: conference = render '/conferences/conference_details', conference: conference
%p
Add the events to your calendar:
%span.btn-group
= link_to("Days only", calendar_url(protocol: 'webcal', format: 'ics'), class: 'btn btn-default')
= link_to("Detailed", calendar_url(protocol: 'webcal', format: 'ics', full: true), class: 'btn btn-default')
-content_for :script_body do -content_for :script_body do
:javascript :javascript

View file

@ -26,9 +26,13 @@
.visible-md-inline.visible-lg-inline .visible-md-inline.visible-lg-inline
= render partial: 'carousel', locals: { date: date, hrs_per_slide: 3 } = render partial: 'carousel', locals: { date: date, hrs_per_slide: 3 }
%p.pull-right %p
= link_to app_conference_schedule_path do %span
Get the mobile app! = link_to conference_schedule_url(protocol: 'webcal', format: 'ics') do
Add the schedule to your calendar
%span.pull-right
= link_to app_conference_schedule_path do
Get the mobile app!
:javascript :javascript
// change of active tab and the button title when a date is clicked // change of active tab and the button title when a date is clicked