From 9e19c3e638ab03f45bdc21ab6db478591bd3b5ca Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Fri, 7 Oct 2016 04:42:19 +0300 Subject: [PATCH] Hide unimplemented stuff from the toolbar --- app/views/layouts/management/_navigation.html.slim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/layouts/management/_navigation.html.slim b/app/views/layouts/management/_navigation.html.slim index e4ee0cf..a1e6477 100644 --- a/app/views/layouts/management/_navigation.html.slim +++ b/app/views/layouts/management/_navigation.html.slim @@ -23,15 +23,15 @@ nav.navbar.navbar-static-top.navbar-inverse role="navigation" li class="#{'active' if controller_name == 'personal_profiles'}" = link_to [:management, current_conference, :personal_profiles] do => icon 'user', t('activerecord.models.personal_profile', count: 2).mb_chars.capitalize, class: 'fa-fw' - li class="#{'active' if controller_name == 'sponsorship_offers'}" - = link_to '#' do - => icon 'money', t('activerecord.models.sponsorship_offer', count: 2).mb_chars.capitalize, class: 'fa-fw' + / li class="#{'active' if controller_name == 'sponsorship_offers'}" + / = link_to '#' do + / => icon 'money', t('activerecord.models.sponsorship_offer', count: 2).mb_chars.capitalize, class: 'fa-fw' li class="#{'active' if controller_name == 'volunteerships'}" = link_to '#' do => icon 'hand-o-up', t('activerecord.models.volunteership', count: 2).mb_chars.capitalize, class: 'fa-fw' - li class="#{'active' if controller_name == 'propositions'}" - = link_to [:management, current_conference, :propositions] do - => icon 'question', Proposition.model_name.human(count: 2).mb_chars.capitalize, class: 'fa-fw' + / li class="#{'active' if controller_name == 'propositions'}" + / = link_to [:management, current_conference, :propositions] do + / => icon 'question', Proposition.model_name.human(count: 2).mb_chars.capitalize, class: 'fa-fw' ul.nav.navbar-nav.navbar-right li.dropdown