2014-11-14 17:24:24 +01:00
|
|
|
.container
|
|
|
|
|
.row
|
|
|
|
|
.col-md-12
|
|
|
|
|
.page-header
|
|
|
|
|
%h2 Upcoming Conferences
|
|
|
|
|
- @current.each do |conference|
|
2017-10-11 20:22:32 -07:00
|
|
|
= render '/conferences/conference_details', conference: conference
|
2019-01-29 21:20:44 +01:00
|
|
|
- if @antiquated and @antiquated.any?
|
2014-11-14 17:24:24 +01:00
|
|
|
.row
|
|
|
|
|
.col-md-12
|
|
|
|
|
%p.text-right
|
2015-10-06 14:15:38 +03:00
|
|
|
%button{ type: 'button', class: 'btn btn-link btn-sm', 'data-toggle' => 'collapse', 'data-target' => '#antiquated', 'aria-expanded' => 'true', 'aria-controls' => 'antiquated'}
|
2014-11-14 17:24:24 +01:00
|
|
|
Older conferences
|
2016-03-26 23:32:43 +01:00
|
|
|
%span.notranslate
|
|
|
|
|
= "(#{@antiquated.count})"
|
2022-05-18 06:31:12 +02:00
|
|
|
%i.fa-solid.fa-chevron-right
|
|
|
|
|
%i.fa-solid.fa-chevron-down{ style: 'display: none' }
|
2014-11-14 17:24:24 +01:00
|
|
|
#antiquated.collapse
|
|
|
|
|
- @antiquated.each do |conference|
|
2017-10-11 20:22:32 -07:00
|
|
|
= render '/conferences/conference_details', conference: conference
|
2021-02-14 23:21:56 +01:00
|
|
|
%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')
|
2014-11-14 17:24:24 +01:00
|
|
|
|
2014-12-05 16:04:34 +01:00
|
|
|
-content_for :script_body do
|
|
|
|
|
:javascript
|
|
|
|
|
$('#antiquated').on('hidden.bs.collapse', function () {
|
|
|
|
|
$( ".fa-chevron-down" ).hide();
|
|
|
|
|
$( ".fa-chevron-right" ).show();
|
|
|
|
|
})
|
|
|
|
|
$('#antiquated').on('shown.bs.collapse', function () {
|
|
|
|
|
$( ".fa-chevron-down" ).show();
|
|
|
|
|
$( ".fa-chevron-right" ).hide();
|
|
|
|
|
})
|