Loading app/views/layouts/application.html.haml +8 −0 Original line number Diff line number Diff line Loading @@ -84,41 +84,49 @@ = link_to 'Special Sessions', set_events_scope_path('special_sessions') - else = link_to 'Special Sessions', set_events_scope_path('special_sessions') = surround '', ' | ' do - if session[:events_filter] == 'activist_sessions' %strong = link_to 'Activist Sessions', set_events_scope_path('activist_sessions') - else = link_to 'Activist Sessions', set_events_scope_path('activist_sessions') = surround '', ' | ' do - if session[:events_filter] == 'artistic_sessions' %strong = link_to 'Artistic Sessions', set_events_scope_path('artistic_sessions') - else = link_to 'Artistic Sessions', set_events_scope_path('artistic_sessions') = surround '', ' | ' do - if session[:events_filter] == 'participatory_sessions' %strong = link_to 'Participatory Sessions', set_events_scope_path('participatory_sessions') - else = link_to 'Participatory Sessions', set_events_scope_path('participatory_sessions') = surround '', ' | ' do - if session[:events_filter] == 'plenary_sessions' %strong = link_to 'Plenary Sessions', set_events_scope_path('plenary_sessions') - else = link_to 'Plenary Sessions', set_events_scope_path('plenary_sessions') = surround '', ' | ' do - if session[:events_filter] == 'keynotes' %strong = link_to 'Keynotes', set_events_scope_path('keynotes') - else = link_to 'Keynotes', set_events_scope_path('keynotes') = surround '', ' | ' do - if session[:events_filter] == 'highlights' %strong = link_to 'Highlights of Degrowth Research', set_events_scope_path('highlights') - else = link_to 'Highlights of Degrowth Research', set_events_scope_path('highlights') = surround '', ' | ' do - if session[:events_filter] == 'individual_papers' %strong = link_to 'Individual Papers', set_events_scope_path('individual_papers') - else = link_to 'Individual Papers', set_events_scope_path('individual_papers') = surround '', ' | ' do - if session[:events_filter] == 'poster_presentations' %strong = link_to 'Poster Presentations', set_events_scope_path('poster_presentations') Loading Loading
app/views/layouts/application.html.haml +8 −0 Original line number Diff line number Diff line Loading @@ -84,41 +84,49 @@ = link_to 'Special Sessions', set_events_scope_path('special_sessions') - else = link_to 'Special Sessions', set_events_scope_path('special_sessions') = surround '', ' | ' do - if session[:events_filter] == 'activist_sessions' %strong = link_to 'Activist Sessions', set_events_scope_path('activist_sessions') - else = link_to 'Activist Sessions', set_events_scope_path('activist_sessions') = surround '', ' | ' do - if session[:events_filter] == 'artistic_sessions' %strong = link_to 'Artistic Sessions', set_events_scope_path('artistic_sessions') - else = link_to 'Artistic Sessions', set_events_scope_path('artistic_sessions') = surround '', ' | ' do - if session[:events_filter] == 'participatory_sessions' %strong = link_to 'Participatory Sessions', set_events_scope_path('participatory_sessions') - else = link_to 'Participatory Sessions', set_events_scope_path('participatory_sessions') = surround '', ' | ' do - if session[:events_filter] == 'plenary_sessions' %strong = link_to 'Plenary Sessions', set_events_scope_path('plenary_sessions') - else = link_to 'Plenary Sessions', set_events_scope_path('plenary_sessions') = surround '', ' | ' do - if session[:events_filter] == 'keynotes' %strong = link_to 'Keynotes', set_events_scope_path('keynotes') - else = link_to 'Keynotes', set_events_scope_path('keynotes') = surround '', ' | ' do - if session[:events_filter] == 'highlights' %strong = link_to 'Highlights of Degrowth Research', set_events_scope_path('highlights') - else = link_to 'Highlights of Degrowth Research', set_events_scope_path('highlights') = surround '', ' | ' do - if session[:events_filter] == 'individual_papers' %strong = link_to 'Individual Papers', set_events_scope_path('individual_papers') - else = link_to 'Individual Papers', set_events_scope_path('individual_papers') = surround '', ' | ' do - if session[:events_filter] == 'poster_presentations' %strong = link_to 'Poster Presentations', set_events_scope_path('poster_presentations') Loading