From 6c00b652e8e7d734ce2b5371989f12be67aa7299 Mon Sep 17 00:00:00 2001 From: Xavier J Date: Mon, 24 Oct 2016 14:56:01 +0200 Subject: [PATCH] Disable state description (opensimplif) --- app/views/backoffice/dossiers/index.html.haml | 3 ++- app/views/users/dossiers/index.html.haml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/backoffice/dossiers/index.html.haml b/app/views/backoffice/dossiers/index.html.haml index c37cde902..e38066977 100644 --- a/app/views/backoffice/dossiers/index.html.haml +++ b/app/views/backoffice/dossiers/index.html.haml @@ -12,4 +12,5 @@ %br %br - = render partial: 'backoffice/dossiers/state_description', locals: {dossiers_list_facade: @dossiers_list_facade} + - unless Features.opensimplif + = render partial: 'backoffice/dossiers/state_description', locals: {dossiers_list_facade: @dossiers_list_facade} diff --git a/app/views/users/dossiers/index.html.haml b/app/views/users/dossiers/index.html.haml index a692b6ea2..46774910d 100644 --- a/app/views/users/dossiers/index.html.haml +++ b/app/views/users/dossiers/index.html.haml @@ -8,4 +8,5 @@ %br %br - = render partial: 'state_description', locals: {dossiers_list_facade: @dossiers_list_facade} + - unless Features.opensimplif + = render partial: 'state_description', locals: {dossiers_list_facade: @dossiers_list_facade}