mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-24 03:04:22 +00:00
Enhanced export functionality by including `title` and `createdDate` in data passed to the Vue app. Updated controllers, templates, and components to handle and display the new fields, improving export file naming and user interface. Removed a debug `dump` call for cleaner code.
28 lines
876 B
Twig
28 lines
876 B
Twig
{% extends '@ChillMain/layout.html.twig' %}
|
|
|
|
{% block js %}
|
|
{{ parent() }}
|
|
{{ encore_entry_script_tags('page_download_exports') }}
|
|
{% endblock %}
|
|
|
|
{% block css %}
|
|
{{ parent() }}
|
|
{{ encore_entry_link_tags('page_download_exports') }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div id="app"
|
|
data-export-generation-id="{{ exportGeneration.id | escape('html_attr') }}"
|
|
data-export-generation-date="{{ exportGeneration.createdAt.format('Ymd-His') }}"
|
|
data-export-title="{{ export.title|trans }}"
|
|
></div>
|
|
|
|
<ul class="sticky-form-buttons record_actions">
|
|
<li class="cancel">
|
|
<a href="{{ chill_return_path_or('chill_main_export_index') }}" class="btn btn-cancel">
|
|
{{ 'export.generation.Come back later'|trans|chill_return_path_label }}
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
{% endblock content %}
|