gestioCOF/gestioncof/templates/base_header.html
2016-07-11 21:48:11 +02:00

18 lines
726 B
HTML

{% extends "base.html" %}
{% block content %}
<header>
<div class="container banner">
<a href="{% url "gestioncof.views.home" %}">
<h1>GestioCOF</h1>
{% block homelink %}
<span class="glyphicon glyphicon-home" aria-hidden=true></span>
{% endblock %}
</a>
<div class="member-status">
<h2>{% if user.first_name %}{{ user.first_name }}{% else %}<tt>{{ user.username }}</tt>{% endif %}, {% if user.profile.is_cof %}<tt class="user-is-cof">Membre du COF{% else %}<tt class="user-is-not-cof">Non-membre du COF{% endif %}</tt></h2>
</div>
</div><!-- /.container -->
</header>
{% block interm_content %}{% endblock %}
{% endblock %}