Close navbar-collapse div.

This commit is contained in:
Audrey Roy 2015-07-13 19:26:40 -07:00
parent 7a147e72e2
commit 35112546c4

View File

@ -49,20 +49,21 @@
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="{% url 'home' %}">Home <span class="sr-only">(current) </span></a></li>
<li><a href="{% url 'about' %}">About</a></li>
</ul>
<ul class="nav navbar-nav">
<li class="active"><a href="{% url 'home' %}">Home <span class="sr-only">(current) </span></a></li>
<li><a href="{% url 'about' %}">About</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
{% if request.user.is_authenticated %}
<li><a href="{% url 'users:detail' request.user.username %}">{% trans "My Profile" %}</a></li>
<li><a href="{% url 'account_logout' %}">{% trans "Logout" %}</a></li>
{% else %}
<li><a href="{% url 'account_signup' %}">{% trans "Sign Up" %}</a></li>
<li><a href="{% url 'account_login' %}">{% trans "Log In" %}</a></li>
{% endif %}
</ul>
<ul class="nav navbar-nav navbar-right">
{% if request.user.is_authenticated %}
<li><a href="{% url 'users:detail' request.user.username %}">{% trans "My Profile" %}</a></li>
<li><a href="{% url 'account_logout' %}">{% trans "Logout" %}</a></li>
{% else %}
<li><a href="{% url 'account_signup' %}">{% trans "Sign Up" %}</a></li>
<li><a href="{% url 'account_login' %}">{% trans "Log In" %}</a></li>
{% endif %}
</ul>
</div>
</div>
</div>