{% extends "gadjo/base.html" %}
{% block page-title %}{{ page_title }}{% endblock %}
{% block site-title %}{{ site_name }}{% endblock %}
{% block footer %}w.c.s. — Copyright © Entr'ouvert{% endblock %}

{% block gadjo-js %}
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/dc2/admin.css"/>
{{script|safe}}
{% endblock %}

{% block css %}
{% endblock %}

{% block bodyargs %}{% if admin_for_all %}class="admin-for-all"{% endif %}{% endblock %}

{% block logout-url %}{{ publisher.get_root_url }}logout{% endblock %}

{% block site-header %}
  <h1 class="breadcrumbs">{% if breadcrumb %}{{ breadcrumb|safe }}{% endif %}</h1>
{% endblock %}

{% block breadcrumb %}
{% endblock %}

{% block sidepage %}
<div id="sidepage">
  <span id="applabel">{{app_label}}</span>
  {{ header_menu|safe }}
</div>
{% endblock %}

{% block main-content-attributes %}
{% if sidebar %}class="with-sidebar"{% endif %}
{% endblock %}

{% block main-content %}
{{ body|safe }}
{% endblock %}

{% block after-main-content %}
{% if sidebar %}
<div id="sidebar">
{{ sidebar|safe }}
</div>
{% endif %}
{% endblock %}
