Merge fd47bc4d9c into 8c27a3dbac
This commit is contained in:
commit
0965b04cf2
1 changed files with 4 additions and 27 deletions
|
|
@ -2,30 +2,7 @@
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
.page-header
|
.page-header
|
||||||
%h2 Upcoming Conferences
|
%h2 Hack Week Rulez!!1!AOL
|
||||||
- @current.each do |conference|
|
|
||||||
= render partial: 'conference_details', locals: { conference: conference }
|
|
||||||
-if @antiquated and @antiquated.any?
|
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
%p.text-right
|
%img{src: 'https://hackweek.suse.com/assets/hackweek-logo-light-23bdd7fcc1d3463dcdfe50670ebb017990e5ff0f47e9dce8b3bbd59bf18f0b13.png', class: 'img-responsive img-center'}
|
||||||
%button{ type: 'button', class: 'btn btn-link btn-sm', 'data-toggle' => 'collapse', 'data-target' => '#antiquated', 'aria-expanded' => 'true', 'aria-controls' => 'antiquated'}
|
|
||||||
Older conferences
|
|
||||||
%span.notranslate
|
|
||||||
= "(#{@antiquated.count})"
|
|
||||||
%i.fa.fa-chevron-right
|
|
||||||
%i.fa.fa-chevron-down{ style: 'display: none' }
|
|
||||||
#antiquated.collapse
|
|
||||||
- @antiquated.each do |conference|
|
|
||||||
= render partial: 'conference_details', locals: { conference: conference}
|
|
||||||
|
|
||||||
-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();
|
|
||||||
})
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue