Replace all encore tags with vite tags in twig templates

This commit is contained in:
2025-12-17 09:48:40 +01:00
parent 0197299c89
commit 441a9e018e
109 changed files with 340 additions and 340 deletions

View File

@@ -76,5 +76,5 @@
data-address-defaults="{{ add_address|json_encode|e('html') }}"
></div>
{{ encore_entry_script_tags('vue_address') }}
{{ encore_entry_link_tags('vue_address') }}
{{ vite_entry_script_tags('vue_address') }}
{{ vite_entry_link_tags('vue_address') }}

View File

@@ -24,11 +24,11 @@
<script type="text/javascript">
window.export_generate_url = "{{ path('chill_main_export_generate', { 'alias' : alias } ) }}";
</script>
{{ encore_entry_link_tags('page_download_exports') }}
{{ vite_entry_link_tags('page_download_exports') }}
{% endblock %}
{% block css %}
{{ encore_entry_script_tags('page_download_exports') }}
{{ vite_entry_script_tags('page_download_exports') }}
{% endblock %}
{% block content %}

View File

@@ -21,15 +21,15 @@
{% block title %}{{ export.title|trans }}{% endblock %}
{% block css %}
{{ encore_entry_link_tags('mod_pickentity_type') }}
{{ encore_entry_link_tags('mod_pick_rolling_date') }}
{{ vite_entry_link_tags('mod_pickentity_type') }}
{{ vite_entry_link_tags('mod_pick_rolling_date') }}
{% endblock %}
{% block js %}
{{ encore_entry_script_tags('mod_pickentity_type') }}
{{ encore_entry_script_tags('page_export') }}
{{ encore_entry_script_tags('vue_export_action_goal_result') }}
{{ encore_entry_script_tags('mod_pick_rolling_date') }}
{{ vite_entry_script_tags('mod_pickentity_type') }}
{{ vite_entry_script_tags('page_export') }}
{{ vite_entry_script_tags('vue_export_action_goal_result') }}
{{ vite_entry_script_tags('mod_pick_rolling_date') }}
{% endblock js %}
{% block content %}

View File

@@ -2,12 +2,12 @@
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('page_download_exports') }}
{{ vite_entry_script_tags('page_download_exports') }}
{% endblock %}
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('page_download_exports') }}
{{ vite_entry_link_tags('page_download_exports') }}
{% endblock %}
{% block title exportGeneration.linkedToSavedExport ? exportGeneration.savedExport.title : ('Download export'|trans) %}

View File

@@ -7,9 +7,9 @@
{% block css %}
{{ encore_entry_link_tags('page_homepage_widget') }}
{{ vite_entry_link_tags('page_homepage_widget') }}
{% endblock %}
{% block js %}
{{ encore_entry_script_tags('page_homepage_widget') }}
{{ vite_entry_script_tags('page_homepage_widget') }}
{% endblock %}

View File

@@ -30,10 +30,10 @@
{% endblock admin_content %}
{% block js %}
{{ encore_entry_script_tags('mod_input_address') }}
{{ encore_entry_script_tags('page_location') }}
{{ vite_entry_script_tags('mod_input_address') }}
{{ vite_entry_script_tags('page_location') }}
{% endblock %}
{% block css %}
{{ encore_entry_link_tags('mod_input_address') }}
{{ vite_entry_link_tags('mod_input_address') }}
{% endblock %}

View File

@@ -30,10 +30,10 @@
{% endblock admin_content %}
{% block js %}
{{ encore_entry_script_tags('mod_input_address') }}
{{ encore_entry_script_tags('page_location') }}
{{ vite_entry_script_tags('mod_input_address') }}
{{ vite_entry_script_tags('page_location') }}
{% endblock %}
{% block css %}
{{ encore_entry_link_tags('mod_input_address') }}
{% endblock %}
{{ vite_entry_link_tags('mod_input_address') }}
{% endblock %}

View File

@@ -23,7 +23,7 @@
{{ 'Login to %installation_name%' | trans({ '%installation_name%' : installation.name } ) }}
</title>
<link rel="shortcut icon" href="{{ asset('build/images/favicon.ico') }}" type="image/x-icon">
{{ encore_entry_link_tags('page_login') }}
{{ vite_entry_link_tags('page_login') }}
</head>
<body>
<div id="content">
@@ -49,6 +49,6 @@
{{ include('@ChillMain/Login/_footer.html.twig') }}
</div>
{{ encore_entry_script_tags('page_login') }}
{{ vite_entry_script_tags('page_login') }}
</body>
</html>

View File

@@ -6,7 +6,7 @@
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_news') }}
{{ vite_entry_link_tags('mod_news') }}
{% endblock %}
{% block content %}

View File

@@ -4,7 +4,7 @@
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_news') }}
{{ vite_entry_link_tags('mod_news') }}
{% endblock %}
{% block content %}

View File

@@ -6,7 +6,7 @@
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_news') }}
{{ vite_entry_link_tags('mod_news') }}
{% endblock %}
{% block admin_content %}

View File

@@ -4,12 +4,12 @@
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('mod_pickentity_type') }}
{{ vite_entry_script_tags('mod_pickentity_type') }}
{% endblock %}
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_pickentity_type') }}
{{ vite_entry_link_tags('mod_pickentity_type') }}
{% endblock %}
{% block content %}

View File

@@ -4,12 +4,12 @@
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('mod_pickentity_type') }}
{{ vite_entry_script_tags('mod_pickentity_type') }}
{% endblock %}
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_pickentity_type') }}
{{ vite_entry_link_tags('mod_pickentity_type') }}
{% endblock %}
{% block content %}

View File

@@ -4,14 +4,14 @@
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags("mod_notification_toggle_read_status") }}
{{ encore_entry_script_tags("mod_notification_toggle_read_all_status") }}
{{ vite_entry_script_tags("mod_notification_toggle_read_status") }}
{{ vite_entry_script_tags("mod_notification_toggle_read_all_status") }}
{% endblock %}
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags("mod_notification_toggle_read_status") }}
{{ encore_entry_link_tags("mod_notification_toggle_read_all_status") }}
{{ vite_entry_link_tags("mod_notification_toggle_read_status") }}
{{ vite_entry_link_tags("mod_notification_toggle_read_all_status") }}
{% endblock %}
{% block content %}

View File

@@ -6,12 +6,12 @@
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('mod_notification_toggle_read_status') }}
{{ vite_entry_script_tags('mod_notification_toggle_read_status') }}
{% endblock %}
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_notification_toggle_read_status') }}
{{ vite_entry_link_tags('mod_notification_toggle_read_status') }}
{% endblock %}
{% block content %}

View File

@@ -4,12 +4,12 @@
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_pickentity_type') }}
{{ vite_entry_link_tags('mod_pickentity_type') }}
{% endblock %}
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('mod_pickentity_type') }}
{{ vite_entry_script_tags('mod_pickentity_type') }}
{% endblock %}
{% block content %}

View File

@@ -2,7 +2,7 @@
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_saved_export_button') }}
{{ vite_entry_link_tags('mod_saved_export_button') }}
<style lang="css">
.export-title {
margin-top: 2rem;
@@ -13,7 +13,7 @@
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('mod_saved_export_button') }}
{{ vite_entry_script_tags('mod_saved_export_button') }}
{% endblock %}
{% block title %}{{ 'saved_export.Saved exports'|trans }}{% endblock %}

View File

@@ -4,12 +4,12 @@
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_pickentity_type') }}
{{ vite_entry_link_tags('mod_pickentity_type') }}
{% endblock %}
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('mod_pickentity_type') }}
{{ vite_entry_script_tags('mod_pickentity_type') }}
{% endblock %}
{% block content %}

View File

@@ -2,12 +2,12 @@
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_pickentity_type') }}
{{ vite_entry_link_tags('mod_pickentity_type') }}
{% endblock %}
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('mod_pickentity_type') }}
{{ vite_entry_script_tags('mod_pickentity_type') }}
{% endblock %}
{% block title %}

View File

@@ -2,7 +2,7 @@
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_pickentity_type') }}
{{ vite_entry_link_tags('mod_pickentity_type') }}
<style type="text/css">
form.remove {
@@ -38,7 +38,7 @@
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('mod_pickentity_type') }}
{{ vite_entry_script_tags('mod_pickentity_type') }}
{% endblock %}
{% block title 'user_group.my_groups'|trans %}

View File

@@ -2,12 +2,12 @@
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_pickentity_type') }}
{{ vite_entry_link_tags('mod_pickentity_type') }}
{% endblock %}
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('mod_pickentity_type') }}
{{ vite_entry_script_tags('mod_pickentity_type') }}
{% endblock %}
{% block title %}

View File

@@ -6,20 +6,20 @@
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('mod_pickentity_type') }}
{{ encore_entry_script_tags('mod_entity_workflow_subscribe') }}
{{ encore_entry_script_tags('page_workflow_show') }}
{{ encore_entry_script_tags('mod_document_action_buttons_group') }}
{{ encore_entry_script_tags('mod_workflow_attachment') }}
{{ vite_entry_script_tags('mod_pickentity_type') }}
{{ vite_entry_script_tags('mod_entity_workflow_subscribe') }}
{{ vite_entry_script_tags('page_workflow_show') }}
{{ vite_entry_script_tags('mod_document_action_buttons_group') }}
{{ vite_entry_script_tags('mod_workflow_attachment') }}
{% endblock %}
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_pickentity_type') }}
{{ encore_entry_link_tags('mod_entity_workflow_subscribe') }}
{{ encore_entry_link_tags('page_workflow_show') }}
{{ encore_entry_link_tags('mod_document_action_buttons_group') }}
{{ encore_entry_link_tags('mod_workflow_attachment') }}
{{ vite_entry_link_tags('mod_pickentity_type') }}
{{ vite_entry_link_tags('mod_entity_workflow_subscribe') }}
{{ vite_entry_link_tags('page_workflow_show') }}
{{ vite_entry_link_tags('mod_document_action_buttons_group') }}
{{ vite_entry_link_tags('mod_workflow_attachment') }}
{% endblock %}
{% import '@ChillMain/Workflow/macro_breadcrumb.html.twig' as macro %}

View File

@@ -7,21 +7,21 @@
<link rel="shortcut icon" href="{{ asset('build/images/favicon.ico') }}" type="image/x-icon">
<title>Signature</title>
{{ encore_entry_link_tags('mod_bootstrap') }}
{{ encore_entry_link_tags('mod_forkawesome') }}
{{ encore_entry_link_tags('chill') }}
{{ encore_entry_link_tags('vue_document_signature') }}
{{ vite_entry_link_tags('mod_bootstrap') }}
{{ vite_entry_link_tags('mod_forkawesome') }}
{{ vite_entry_link_tags('chill') }}
{{ vite_entry_link_tags('vue_document_signature') }}
</head>
<body>
{% block js %}
{{ encore_entry_script_tags('mod_document_action_buttons_group') }}
{{ vite_entry_script_tags('mod_document_action_buttons_group') }}
<script type="text/javascript">
window.signature = {{ signature|json_encode|raw }};
</script>
{{ encore_entry_script_tags('vue_document_signature') }}
{{ vite_entry_script_tags('vue_document_signature') }}
{% endblock %}
<div class="content" id="content">
@@ -32,4 +32,4 @@
</div>
</div>
</body>
</html>
</html>

View File

@@ -3,11 +3,11 @@
{% block title %}{{ 'workflow.signature.waiting_for'|trans }}{% endblock %}
{% block css %}
{{ encore_entry_link_tags('page_workflow_waiting_post_process') }}
{{ vite_entry_link_tags('page_workflow_waiting_post_process') }}
{% endblock %}
{% block js %}
{{ encore_entry_script_tags('page_workflow_waiting_post_process') }}
{{ vite_entry_script_tags('page_workflow_waiting_post_process') }}
{% endblock %}
{% block content %}

View File

@@ -8,9 +8,9 @@
{% block head_custom %}{% endblock %}
<link rel="shortcut icon" href="{{ asset('build/images/favicon.ico') }}" type="image/x-icon">
{{ encore_entry_link_tags('mod_bootstrap') }}
{{ encore_entry_link_tags('mod_forkawesome') }}
{{ encore_entry_link_tags('chill') }}
{{ vite_entry_link_tags('mod_bootstrap') }}
{{ vite_entry_link_tags('mod_forkawesome') }}
{{ vite_entry_link_tags('chill') }}
{% block css %}{% endblock %}
</head>
@@ -49,9 +49,9 @@
{{ include('@ChillMain/Layout/_footer.html.twig', {'public_page': true}) }}
{{ encore_entry_script_tags('mod_bootstrap') }}
{{ encore_entry_script_tags('mod_forkawesome') }}
{{ encore_entry_script_tags('chill') }}
{{ vite_entry_script_tags('mod_bootstrap') }}
{{ vite_entry_script_tags('mod_forkawesome') }}
{{ vite_entry_script_tags('chill') }}
{% block js %}{% endblock %}
</body>

View File

@@ -14,14 +14,14 @@
window.addaddress = {{ add_address|json_encode|raw }};
</script>
{{ encore_entry_link_tags('mod_collection') }}
{{ encore_entry_link_tags('mod_bootstrap') }}
{{ encore_entry_link_tags('mod_forkawesome') }}
{{ encore_entry_link_tags('mod_ckeditor5') }}
{{ encore_entry_link_tags('chill') }}
{{ encore_entry_link_tags('mod_blur') }}
{{ encore_entry_link_tags('vue_onthefly') }}
{{ encore_entry_link_tags('mod_address_details') }}
{{ vite_entry_link_tags('mod_collection') }}
{{ vite_entry_link_tags('mod_bootstrap') }}
{{ vite_entry_link_tags('mod_forkawesome') }}
{{ vite_entry_link_tags('mod_ckeditor5') }}
{{ vite_entry_link_tags('chill') }}
{{ vite_entry_link_tags('mod_blur') }}
{{ vite_entry_link_tags('vue_onthefly') }}
{{ vite_entry_link_tags('mod_address_details') }}
{% block css %}<!-- nothing added to css -->{% endblock %}
</head>
@@ -116,14 +116,14 @@
{{ include('@ChillMain/Layout/_footer.html.twig') }}
{{ encore_entry_script_tags('mod_collection') }}
{{ encore_entry_script_tags('mod_bootstrap') }}
{{ encore_entry_script_tags('mod_forkawesome') }}
{{ encore_entry_script_tags('mod_ckeditor5') }}
{{ encore_entry_script_tags('mod_blur') }}
{{ encore_entry_script_tags('chill') }}
{{ encore_entry_script_tags('vue_onthefly') }}
{{ encore_entry_script_tags('mod_address_details') }}
{{ vite_entry_script_tags('mod_collection') }}
{{ vite_entry_script_tags('mod_bootstrap') }}
{{ vite_entry_script_tags('mod_forkawesome') }}
{{ vite_entry_script_tags('mod_ckeditor5') }}
{{ vite_entry_script_tags('mod_blur') }}
{{ vite_entry_script_tags('chill') }}
{{ vite_entry_script_tags('vue_onthefly') }}
{{ vite_entry_script_tags('mod_address_details') }}
<script type="text/javascript">
window.addEventListener('DOMContentLoaded', function(e) {