Hide recent Registrations/Submissions when conference is over
This commit is contained in:
parent
4b855a22dc
commit
cb71b72e13
1 changed files with 2 additions and 2 deletions
|
|
@ -101,11 +101,11 @@
|
||||||
.row
|
.row
|
||||||
.col-md-8
|
.col-md-8
|
||||||
%ul.nav.nav-tabs#recentTable
|
%ul.nav.nav-tabs#recentTable
|
||||||
%li{ 'class' => "active disabled" }
|
%li{ 'class' => "active #{ 'hidden' if Date.today >= @conference.end_date }" }
|
||||||
%a{ href: '#recent_reg', 'data-toggle' => 'tab' }
|
%a{ href: '#recent_reg', 'data-toggle' => 'tab' }
|
||||||
%span.fa.fa-user
|
%span.fa.fa-user
|
||||||
Recent Registrations
|
Recent Registrations
|
||||||
%li{ 'class' => "disabled" }
|
%li{ 'class' => "#{ 'hidden' if Date.today >= @conference.end_date }" }
|
||||||
%a{ href: '#recent_submissions', 'data-toggle' => 'tab' }
|
%a{ href: '#recent_submissions', 'data-toggle' => 'tab' }
|
||||||
%span.fa.fa-file-text
|
%span.fa.fa-file-text
|
||||||
Recent Submissions
|
Recent Submissions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue