2017-02-18 16:56:56 +01:00
|
|
|
<ul class="nav navbar-top-links pull-right">
|
2017-02-20 18:42:37 +01:00
|
|
|
{% if user.is_authenticated %}
|
2017-02-18 01:10:30 +01:00
|
|
|
<li class="dropdown">
|
|
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
2017-02-18 16:56:56 +01:00
|
|
|
<i class="fa fa-bell fa-fw fa-lg"></i> <i class="fa fa-caret-down"></i>
|
2017-02-18 01:10:30 +01:00
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu dropdown-alerts">
|
|
|
|
<li>
|
|
|
|
<a href="#">
|
|
|
|
<div>
|
|
|
|
<i class="fa fa-comment fa-fw"></i> New Comment
|
|
|
|
<span class="pull-right text-muted small">4 minutes ago</span>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li>
|
|
|
|
<a href="#">
|
|
|
|
<div>
|
|
|
|
<i class="fa fa-twitter fa-fw"></i> 3 New Followers
|
|
|
|
<span class="pull-right text-muted small">12 minutes ago</span>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li>
|
|
|
|
<a href="#">
|
|
|
|
<div>
|
|
|
|
<i class="fa fa-envelope fa-fw"></i> Message Sent
|
|
|
|
<span class="pull-right text-muted small">4 minutes ago</span>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li>
|
|
|
|
<a href="#">
|
|
|
|
<div>
|
|
|
|
<i class="fa fa-tasks fa-fw"></i> New Task
|
|
|
|
<span class="pull-right text-muted small">4 minutes ago</span>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li>
|
|
|
|
<a href="#">
|
|
|
|
<div>
|
|
|
|
<i class="fa fa-upload fa-fw"></i> Server Rebooted
|
|
|
|
<span class="pull-right text-muted small">4 minutes ago</span>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li>
|
|
|
|
<a class="text-center" href="#">
|
|
|
|
<strong>See All Alerts</strong>
|
|
|
|
<i class="fa fa-angle-right"></i>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<!-- /.dropdown-alerts -->
|
|
|
|
</li>
|
|
|
|
<!-- /.dropdown -->
|
2017-02-20 18:42:37 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if user.is_authenticated %}
|
2017-02-18 01:10:30 +01:00
|
|
|
<li class="dropdown">
|
|
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
2017-02-18 16:56:56 +01:00
|
|
|
<i class="fa fa-user fa-fw fa-lg"></i> <i class="fa fa-caret-down"></i>
|
2017-02-18 01:10:30 +01:00
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu dropdown-user">
|
2017-02-21 11:38:21 +01:00
|
|
|
<li><a href="#"><i class="fa fa-user fa-fw"></i>Mon profile</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="{% url "user:password_change" %}"><i class="fa fa-unlock-alt fa-fw"></i>Changer de mot de passe</a>
|
2017-02-18 01:10:30 +01:00
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
2017-02-21 11:38:21 +01:00
|
|
|
<li><a href="{% url "user:logout" %}"><i class="fa fa-sign-out fa-fw"></i>Se déconnecter</a>
|
2017-02-18 01:10:30 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<!-- /.dropdown-user -->
|
|
|
|
</li>
|
|
|
|
<!-- /.dropdown -->
|
2017-02-20 18:42:37 +01:00
|
|
|
{% else %}
|
|
|
|
<li>
|
|
|
|
<a href="{% url "user:login" %}">
|
|
|
|
<i class="fa fa-sign-in fa-fw fa-lg"></i></a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2017-02-18 01:10:30 +01:00
|
|
|
</ul>
|
|
|
|
<!-- /.navbar-top-links -->
|