Refactoring code and add method
This commit is contained in:
parent
b53b7b2eb3
commit
8ce3cdcd6c
3 changed files with 17 additions and 11 deletions
|
|
@ -101,11 +101,11 @@
|
|||
.row
|
||||
.col-md-8
|
||||
%ul.nav.nav-tabs#recentTable
|
||||
%li{ 'class' => "active #{ 'hidden' if Date.today > @conference.end_date }" }
|
||||
%li{ 'class' => "active #{set_hidden_if_conf_is_over(@conference)}" }
|
||||
%a{ href: '#recent_reg', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-user
|
||||
Recent Registrations
|
||||
%li{ 'class' => "#{ 'hidden' if Date.today > @conference.end_date }" }
|
||||
%li{ 'class' => "#{set_hidden_if_conf_is_over(@conference)}" }
|
||||
%a{ href: '#recent_submissions', 'data-toggle' => 'tab' }
|
||||
%span.fa.fa-file-text
|
||||
Recent Submissions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue