{% set _mainNavDefaults = {'selected' : 'dashboard'} %}
{% set mainNavigation = mainNavigation is defined ? _mainNavDefaults | merge(mainNavigation) : _mainNavDefaults %}
<nav id="banner2">
	<div class="container">
		<div class="row">
			<div class="pull-right">
				<ul class="nav nav-tabs">
					<li class="{{ 'dashboard' == mainNavigation.selected  ? 'active' : '' }}">
                        <a href="{{ path('institution_homepage')}}">Dashboard</a>
                    </li>
					<li class="{{ 'profile' == mainNavigation.selected  ? 'active' : '' }}">
                        <a href="{{ path('institution_account_profile') }}">Institutional Profile</a> 
                    </li>
    				{#--- TODO: use constant value here or a twig helper to check if institution is of type single center #}
                    {% if (institution.type != 3) %}
                    <li class="{{ 'medical_centers' == mainNavigation.selected  ? 'active' : '' }}">
                        <a href="{{ path('institution_medicalCenter_index') }}">Your Clinics</a>
                    </li>
                    {% endif %}
                    <li class="{{ 'logs' == mainNavigation.selected  ? 'active' : '' }}">
                        <a href="site-logs.html">Events</a>
                    </li>
				</ul>
			</div>
		</div>
	</div>
</nav>
{% set _mainNavDefaults = {'selected' : 'dashboard'} %}
{% set mainNavigation = mainNavigation is defined ? _mainNavDefaults | merge(mainNavigation) : _mainNavDefaults %}
<nav id="banner2">
	<div class="container">
		<div class="row">
			<div class="pull-right">
				<ul class="nav nav-tabs">
					<li class="{{ 'dashboard' == mainNavigation.selected  ? 'active' : '' }}">
                        <a href="{{ path('institution_homepage')}}">Dashboard</a>
                    </li>
					<li class="{{ 'profile' == mainNavigation.selected  ? 'active' : '' }}">
                        <a href="{{ path('institution_account_profile') }}">Your Profile</a> 
                    </li>
    				{#--- TODO: use constant value here or a twig helper to check if institution is of type single center #}
                    {% if (institution.type != 3) %}
                    <li class="{{ 'medical_centers' == mainNavigation.selected  ? 'active' : '' }}">
                        <a href="{{ path('institution_medicalCenter_index') }}">Your Clinics</a>
                    </li>
                    {% endif %}
                    <li class="{{ 'logs' == mainNavigation.selected  ? 'active' : '' }}">
                        <a href="site-logs.html">Events</a>
                    </li>
				</ul>
			</div>
		</div>
	</div>
</nav>
Change the Insitution Profile to Your Profile
Change the Insitution Profile to Your Profile
