From 91f77f09aec8571aa05f115d3714ea5a42783c88 Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Fri, 8 Dec 2023 14:43:41 +0100 Subject: [PATCH] help user without dossier --- app/views/users/dossiers/_dossiers_list.html.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/users/dossiers/_dossiers_list.html.haml b/app/views/users/dossiers/_dossiers_list.html.haml index e2f759b32..d8914eb39 100644 --- a/app/views/users/dossiers/_dossiers_list.html.haml +++ b/app/views/users/dossiers/_dossiers_list.html.haml @@ -94,7 +94,7 @@ - else - - if filter.present? + - if filter.present? && filter.filter_params_count > 0 .blank-tab %h2.empty-text= t('views.users.dossiers.dossiers_list.no_result_title') %p.empty-text-details @@ -114,3 +114,5 @@ %h2.empty-text= t('views.users.dossiers.dossiers_list.no_result_title') %p.empty-text-details = t('views.users.dossiers.dossiers_list.no_result_text_html', app_base: APPLICATION_BASE_URL) + %p + = link_to t("root.landing.how_to_find_procedure"), t("links.common.faq.comment_trouver_ma_demarche_url"), class: "fr-btn fr-btn--lg fr-mr-1w fr-mb-2w", **external_link_attributes