gestioCOF/gestioncof/templates/base_header.html

23 lines
982 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block content %}
<header>
<div class="container banner">
<a href="{% url "gestioncof.views.home" %}">
<div class="btn-toolbar" role=toolbar>
<div class="btn-group">
<button type=button class="btn btn-default home-link" aria-label="GestioCOF"><h1>{{ site.name }}</h1></button>
{% block homelink %}
<button type=button class="btn btn-default home-link" aria-label="home"><span class="glyphicon glyphicon-home" aria-hidden=true></span></button>
{% endblock %}
</div>
</div>
</a>
<div class="member-status">
<h2>{% if user.first_name %}{{ user.first_name }}{% else %}<tt>{{ user.username }}</tt>{% endif %}, <tt>{% if user.profile.is_cof %}Membre du COF{% else %}Non-membre du COF{% endif %}</tt></h2>
</div>
</div><!-- /.container -->
</header>
{% block interm_content %}{% endblock %}
{% endblock %}