Show all conferences by default on Conferences#index
This commit is contained in:
parent
d40ab944c2
commit
d067221f57
1 changed files with 4 additions and 4 deletions
|
|
@ -10,12 +10,12 @@
|
||||||
.col-md-12
|
.col-md-12
|
||||||
%p.text-right
|
%p.text-right
|
||||||
%button{ type: 'button', class: 'btn btn-link btn-sm', 'data-toggle' => 'collapse', 'data-target' => '#antiquated', 'aria-expanded' => 'true', 'aria-controls' => 'antiquated'}
|
%button{ type: 'button', class: 'btn btn-link btn-sm', 'data-toggle' => 'collapse', 'data-target' => '#antiquated', 'aria-expanded' => 'true', 'aria-controls' => 'antiquated'}
|
||||||
Older conferences
|
Past Conferences
|
||||||
%span.notranslate
|
%span.notranslate
|
||||||
= "(#{@antiquated.count})"
|
= "(#{@antiquated.count})"
|
||||||
%i.fa.fa-chevron-right
|
%i.fa.fa-chevron-right{ style: 'display: none' }
|
||||||
%i.fa.fa-chevron-down{ style: 'display: none' }
|
%i.fa.fa-chevron-down
|
||||||
#antiquated.collapse
|
#antiquated
|
||||||
- @antiquated.each do |conference|
|
- @antiquated.each do |conference|
|
||||||
= render '/conferences/conference_details', conference: conference
|
= render '/conferences/conference_details', conference: conference
|
||||||
- if @antiquated.empty? && @current.empty? && User.empty?
|
- if @antiquated.empty? && @current.empty? && User.empty?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue