Commit e22e8bd3 authored by felix.herrmann's avatar felix.herrmann
Browse files

fix(templates): restored top nav after merge problems

parent e2edfba0
{% load static i18n compress%}
<div class="mb-1">
<nav class="navbar fixed-top navbar-expand-sm navbar-light">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="#"><img src="{% static 'images/logo-primary.svg' %}" height="40" /></a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">{% trans "Home" %}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">{% trans "About" %}</a>
</li>
<li class="nav-item">
<form class="form-inline">
<input id="navsearch" type="search" placeholder="{% trans "Search" %}" aria-label="Search">
</form>
</li>
{% if request.user.is_authenticated %}
<li class="nav-item">
<a class="nav-link" href="{% url 'ddusers:edit' %}">{% trans "My Profile" %}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">{% trans "Sign Out" %}</a>
</li>
{% else %}
<li class="nav-item">
<a id="sign-up-link" class="nav-link" href="#">{% trans "Sign Up" %}</a>
</li>
<li class="nav-item" data-toggle="modal" data-target="#signIn">
<a id="log-in-link" class="nav-link" href="#">{% trans "Sign In" %}</a>
</li>
{% endif %}
</ul>
</div>
</nav><
</div>
<nav class="navbar fixed-top flex-md-nowrap p-0 border-bottom" id="navbar-top">
<a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#"><img src="{% static 'images/logo-primary.svg' %}" height="40" /></a>
<input class="w-25 form-control" type="text" placeholder="Search" aria-label="Search">
<ul class="navbar-nav px-3">
{% if request.user.is_authenticated %}
<li class="nav-item">
<a class="nav-link" href="#">{% trans "Sign Out" %}</a>
</li>
{% else %}
<li class="nav-item">
<a id="sign-up-link" class="nav-link" href="#">{% trans "Sign Up" %}</a>
</li>
{% endif %}
</ul>
</nav>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment