From d347534fead50eed2bda75f1e974616e1aa4f33e Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Thu, 6 Sep 2018 12:19:28 +0200 Subject: [PATCH] Pug: Move navigation macro to blender-cloud --- src/templates/_macros/_navigation.pug | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/templates/_macros/_navigation.pug diff --git a/src/templates/_macros/_navigation.pug b/src/templates/_macros/_navigation.pug deleted file mode 100644 index fd08e94a..00000000 --- a/src/templates/_macros/_navigation.pug +++ /dev/null @@ -1,26 +0,0 @@ -| {% 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 %}