| {% macro navigation_tabs(title) %}

nav#nav-tabs
	ul#nav-tabs__list
		li.nav-tabs__list-tab(
			class="{% if title == 'homepage' %}active{% endif %}")
			a(href="{{ url_for('main.homepage') }}") Activity

		li.nav-tabs__list-tab(
			class="{% if title == 'home' %}active{% endif %}")
			a(href="{{ url_for('projects.home_project') }}") Home

		li.nav-tabs__list-tab(
			class="{% if title == 'dashboard' %}active{% endif %}")
			a(href="{{ url_for('projects.index') }}") My Projects

		| {% if current_user.has_organizations() %}
		li.nav-tabs__list-tab(
			class="{% if title == 'organizations' %}active{% endif %}")
			a(
				href="{{ url_for('pillar.web.organizations.index') }}",
				title="My Organizations")
				| My Organizations
		| {% endif %}

| {% endmacro %}
