From d067221f570a563bd43b1c2e2e48607f8ebd947e Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Tue, 2 Mar 2021 20:46:35 -0800 Subject: [PATCH] Show all conferences by default on Conferences#index --- app/views/conferences/index.html.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/conferences/index.html.haml b/app/views/conferences/index.html.haml index 5382989c..fbcb426e 100644 --- a/app/views/conferences/index.html.haml +++ b/app/views/conferences/index.html.haml @@ -10,12 +10,12 @@ .col-md-12 %p.text-right %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 = "(#{@antiquated.count})" - %i.fa.fa-chevron-right - %i.fa.fa-chevron-down{ style: 'display: none' } - #antiquated.collapse + %i.fa.fa-chevron-right{ style: 'display: none' } + %i.fa.fa-chevron-down + #antiquated - @antiquated.each do |conference| = render '/conferences/conference_details', conference: conference - if @antiquated.empty? && @current.empty? && User.empty?