diff --git a/app/views/admin/organisations/stats/index.html.slim b/app/views/admin/organisations/stats/index.html.slim index 0df8005800..ea192d0c59 100644 --- a/app/views/admin/organisations/stats/index.html.slim +++ b/app/views/admin/organisations/stats/index.html.slim @@ -1,5 +1,5 @@ / Include the charts pack in the section -- content_for(:charts_script) { javascript_include_tag "charts", "data-turbolinks-track": "reload" } +- content_for(:additional_scripts) { javascript_include_tag "charts", "data-turbolinks-track": "reload" } - content_for(:menu_item) { "menu-organisation-stats" } diff --git a/app/views/common/_head_agent.html.slim b/app/views/common/_head_agent.html.slim index ba27d1f998..a6f7b8603e 100644 --- a/app/views/common/_head_agent.html.slim +++ b/app/views/common/_head_agent.html.slim @@ -7,4 +7,4 @@ = javascript_include_tag "#{dsfr_path}/dsfr.module.min.js", "data-turbo-track": "reload", type: "module", defer: true = javascript_include_tag "#{dsfr_path}/dsfr.nomodule.min.js", "data-turbo-track": "reload", nomodule: true, defer: true -= content_for(:charts_script) += content_for(:additional_scripts) diff --git a/app/views/layouts/application_base.html.slim b/app/views/layouts/application_base.html.slim index 55f180898b..89e6916f7f 100644 --- a/app/views/layouts/application_base.html.slim +++ b/app/views/layouts/application_base.html.slim @@ -8,7 +8,7 @@ html lang="fr" = javascript_include_tag "application", "data-turbolinks-track": "reload" = javascript_include_tag "#{dsfr_path}/dsfr.module.min.js", "data-turbo-track": "reload", type: "module", defer: true = javascript_include_tag "#{dsfr_path}/dsfr.nomodule.min.js", "data-turbo-track": "reload", nomodule: true, defer: true - = content_for(:charts_script) + = content_for(:additional_scripts) body = render "layouts/rdv_solidarites_instance_name" diff --git a/app/views/stats/index.html.slim b/app/views/stats/index.html.slim index 9165bea21b..7b65b891ba 100644 --- a/app/views/stats/index.html.slim +++ b/app/views/stats/index.html.slim @@ -1,5 +1,5 @@ / Include the charts pack in the section -- content_for(:charts_script) { javascript_include_tag "charts", "data-turbolinks-track": "reload" } +- content_for(:additional_scripts) { javascript_include_tag "charts", "data-turbolinks-track": "reload" } - content_for :title do | Statistiques diff --git a/app/views/stats/notifications_index.html.slim b/app/views/stats/notifications_index.html.slim index 34f1fa8bdd..04ed6a035e 100644 --- a/app/views/stats/notifications_index.html.slim +++ b/app/views/stats/notifications_index.html.slim @@ -1,5 +1,5 @@ / Include the charts pack in the section -- content_for(:charts_script) { javascript_include_tag "charts", "data-turbolinks-track": "reload" } +- content_for(:additional_scripts) { javascript_include_tag "charts", "data-turbolinks-track": "reload" } - content_for :title do | Statistiques de notifications