Hide unimplemented stuff from the toolbar

This commit is contained in:
Petko Bordjukov 2016-10-07 04:42:19 +03:00
parent b245f48fbe
commit 9e19c3e638
1 changed files with 6 additions and 6 deletions

View File

@ -23,15 +23,15 @@ nav.navbar.navbar-static-top.navbar-inverse role="navigation"
li class="#{'active' if controller_name == 'personal_profiles'}" li class="#{'active' if controller_name == 'personal_profiles'}"
= link_to [:management, current_conference, :personal_profiles] do = link_to [:management, current_conference, :personal_profiles] do
=> icon 'user', t('activerecord.models.personal_profile', count: 2).mb_chars.capitalize, class: 'fa-fw' => icon 'user', t('activerecord.models.personal_profile', count: 2).mb_chars.capitalize, class: 'fa-fw'
li class="#{'active' if controller_name == 'sponsorship_offers'}" / li class="#{'active' if controller_name == 'sponsorship_offers'}"
= link_to '#' do / = link_to '#' do
=> icon 'money', t('activerecord.models.sponsorship_offer', count: 2).mb_chars.capitalize, class: 'fa-fw' / => icon 'money', t('activerecord.models.sponsorship_offer', count: 2).mb_chars.capitalize, class: 'fa-fw'
li class="#{'active' if controller_name == 'volunteerships'}" li class="#{'active' if controller_name == 'volunteerships'}"
= link_to '#' do = link_to '#' do
=> icon 'hand-o-up', t('activerecord.models.volunteership', count: 2).mb_chars.capitalize, class: 'fa-fw' => icon 'hand-o-up', t('activerecord.models.volunteership', count: 2).mb_chars.capitalize, class: 'fa-fw'
li class="#{'active' if controller_name == 'propositions'}" / li class="#{'active' if controller_name == 'propositions'}"
= link_to [:management, current_conference, :propositions] do / = link_to [:management, current_conference, :propositions] do
=> icon 'question', Proposition.model_name.human(count: 2).mb_chars.capitalize, class: 'fa-fw' / => icon 'question', Proposition.model_name.human(count: 2).mb_chars.capitalize, class: 'fa-fw'
ul.nav.navbar-nav.navbar-right ul.nav.navbar-nav.navbar-right
li.dropdown li.dropdown