gestioCOF/gestioncof/templates/base_header.html

19 lines
726 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block content %}
<header>
<div class="container banner">
<a href="{% url "gestioncof.views.home" %}">
2016-07-11 21:48:11 +02:00
<h1>GestioCOF</h1>
{% block homelink %}
<span class="glyphicon glyphicon-home" aria-hidden=true></span>
{% endblock %}
</a>
<div class="member-status">
2016-07-11 21:48:11 +02:00
<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 %}