{% extends "admin/base.html" %}
{% load i18n static %}

{% block title %}{{ title }} | {% trans "Entr'ouvert Gestion" %}{% endblock %}

{% block branding %}
<h1 id="site-name">{% trans "Entr'ouvert Gestion" %}</h1>
{% endblock %}

{% block extrastyle %}
{{ block.super }}
<meta charset="utf-8"><!-- ☭ -->
<link rel="stylesheet" type="text/css" href="{% static "css/admin_gestion.css" %}"/>
{% endblock %}

{% block content_title %}<h1>Gestion de la facturation et des finances</h1>{% endblock %}

{% block nav-global %}
<ul class="menu">
	<li><a href="{% url "admin:eo_facture_facture_changelist"%}?emission__year={% now "Y" %}">Factures {% now "Y" %}</a></li>
	<li><a href="{% url "admin:eo_facture_client_changelist" %}">Clients</a></li>
	<li><a href="{% url "admin:eo_facture_client_add" %}">Ajouter un client</a></li>
	<li><a href="{% url "admin:eo_facture_contrat_changelist" %}">Contrats</a></li>
	<li><a href="{% url "admin:eo_facture_contrat_add" %}">Ajouter un contrat</a></li>
	<li><a href="{% url "admin:eo_banque_lignebanquepop_changelist" %}">Compte en banque</a></li>
</ul>
{% endblock %}

{% block userlinks %}
<a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
{% endblock %}
