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

{% block css %}
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}portal-agent/css/agent-portal.css"/>
{% if portal_agent_extra_css|first == '/' %}
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ portal_agent_extra_css }}">
{% elif portal_agent_extra_css %}
<link rel="stylesheet" type="text/css" href="{{ portal_agent_extra_css }}">
{% endif %}
{% endblock %}

{% block extrascripts %}
<script src="{% static "js/combo.public.js" %}"></script>
<script src="/__services.js"></script>
<script src="{% static "portal-agent/js/agent-portal.js" %}"></script>
<script src="{% static "portal-agent/js/publik.js" %}"></script>
{% endblock %}

{% block page-title %}{% firstof site_title "Publik" %} - {{ page.title }}{% endblock %}
{% block site-title %}{% firstof site_title "Publik" %}{% endblock %}
{% block footer %}Combo — Copyright © Entr’ouvert{% endblock %}
{% block logout-url %}{{ logout_url }}{% endblock %}
{% block bodyargs %}
data-api-root="{{ site_base }}/api/"
{% if check_badges %}data-check-badges="true"{% endif %}
class="page-{{ page.slug }} page-template-{{ page.template_name }} {% with pages.0.slug as section %}{% if section %}section-{{section}}{% endif %}{% endwith %}"
{% endblock %}

{% block content %}
<div id="portal-agent-content">
{% block combo-content %}
{% trans "Content" as name %}
{% placeholder "content" name=name %}
{% endblock %}
</div>
{% endblock %}
