[export] layout of page "export list"

This commit is contained in:
2018-10-05 11:45:46 +02:00
parent 7d7912a93e
commit 6abf51be4b
5 changed files with 35 additions and 15 deletions

View File

@@ -16,25 +16,21 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
#}
{% extends "ChillMainBundle::layoutWithVerticalMenu.html.twig" %}
{% extends "ChillMainBundle::layout.html.twig" %}
{% block title %}{{ 'Exports list'|trans }}{% endblock %}
{% block vertical_menu_content %}
{{ chill_menu('export', {
'layout': 'ChillMainBundle::Menu/export.html.twig',
}) }}
{% endblock %}
{% block layout_wvm_content %}
{% block export_content %}
<h1>{{ 'Exports list'|trans }}</h1>
{% block content %}
<div class="container-export">
<h1>{{ 'Exports list'|trans }}</h1>
<div class="export-list">
{% for export_alias,export in exports %}
<div class="export">
<div class="export-list__element">
<h2>{{ export.title|trans }}</h2>
<p>{{ export.description|trans }}</p>
<p>
<a class="sc-button bt-action" href="{{ path('chill_main_export_new', { 'alias': export_alias } ) }}">
{{ 'Create an export'|trans }}
@@ -42,5 +38,6 @@
</p>
</div>
{% endfor %}
{% endblock %}
{% endblock %}
</div>
</div>
{% endblock %}

View File

@@ -1 +1 @@
{% if nb > 0 %}<span class="notification-counter">{{ nb }}{% endif %}
{% if nb > 0 %}<span class="notification-counter">{{ nb }}</span>{% endif %}