la-baule: move nav template in own file (#57655)

This commit is contained in:
Thomas Jund 2021-10-18 16:19:19 +02:00
parent 6e338c5eb4
commit cc59fa10e0
2 changed files with 7 additions and 8 deletions

View File

@ -1,15 +1,9 @@
{% extends "combo/page_template.html" %}
{# move user infos block #}
{% block top-links %}
{% endblock %}
{% block nav-post %}
{% include 'includes/user-info.html' %}
{% endblock %}
{# user infos block moved in includes/nav.html #}
{% block top-links %}{% endblock %}
{# add page header placeholder #}
{% block content-pre %}
<div class="page-header">
{% placeholder "page-header" name="Entête de la page" %}

View File

@ -0,0 +1,5 @@
{% extends "includes/nav.html" %}
{% block nav-post %}
{% include 'includes/user-info.html' %}
{% endblock %}