Remove .to extension from nav templates

This commit is contained in:
richard-dds
2018-08-02 11:05:17 -04:00
parent 9d43a7d5f3
commit 8d2b49ad85
3 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
{% from "components.html" import Icon %}
<header class="topbar">
<nav class="topbar__navigation">
<a href="/home" class="topbar__link topbar__link--shield" title="JEDI Home">
{{ Icon('shield', classes='topbar__link-icon') }}
</a>
<div class="topbar__context topbar__context--{{context}}">
<a href="/" class="topbar__link">
<span class="topbar__link-label">{{ "Workspace 123456" if context == 'workspace' else "JEDI" }}</span>
{{ Icon('caret_down', classes='topbar__link-icon icon--tiny') }}
</a>
<a href="/" class="topbar__link">
<span class="topbar__link-label">{{ g.current_user.first_name + " " + g.current_user.last_name }}</span>
{{ Icon('avatar', classes='topbar__link-icon') }}
</a>
</div>
</nav>
</header>