diff --git a/app/components/tabs_explanations_component/tabs_explanations_component.en.yml b/app/components/tabs_explanations_component/tabs_explanations_component.en.yml index 32b8fb122..3ce6c8fb0 100644 --- a/app/components/tabs_explanations_component/tabs_explanations_component.en.yml +++ b/app/components/tabs_explanations_component/tabs_explanations_component.en.yml @@ -6,7 +6,7 @@ en: tabs_en_test_html: “in testing” tab groups together the procedures which have not yet been published. Files submitted during the test phase will be automatically deleted when the process is modified or published. tabs_close_html: “finished” tab groups together closed procedures with no more files to process. tabs_a_suivre_html: “to follow” tab contains all the files which are not followed by any instructor. To assign the file, simply click on “Follow” the file. - tabs_suivis_html: “followed by me“ tab contains the files followed by you and the other instructors assigned to the process. When you (or another instructor) follow a folder, that folder no longer appears in the “to follow” folders. If you want to view only the folders you follow, simply activate the “Show only my followed folders” option above the table. You can discuss with the applicant until you can accept, refuse and close their file without further action. + tabs_suivis_html: “followed by me“ tab contains the files followed by you. When you (or another instructor) follow a folder, that folder no longer appears in the “to follow” folders. You can discuss with the applicant until you can accept, refuse and close their file without further action. tabs_traites_html: “processed” tab contains the files on which one or more instructors have ruled and made a decision (accepted, refused or closed without further action). tabs_tous_html: “total” tab contains all the files submitted for this procedure, whatever their status (“to be continued”, “follow-up”, “processed”). If the files are routed in instructor groups, you will only find in this tab the files of the group(s) of which you are a part. tabs_supprimes_html: "”trash” tab contains:
- files whose retention period has expired (the retention period of files is set by the administrator of the process).
- “processed” files which have been put in the trash by the instructors
From the date on which the files were put in the trash, you have 7 days to download them. / restore / extend their retention period by one month. After this period, these files will be permanently deleted." diff --git a/app/components/tabs_explanations_component/tabs_explanations_component.fr.yml b/app/components/tabs_explanations_component/tabs_explanations_component.fr.yml index 4cb3abab2..ff24c404a 100644 --- a/app/components/tabs_explanations_component/tabs_explanations_component.fr.yml +++ b/app/components/tabs_explanations_component/tabs_explanations_component.fr.yml @@ -6,7 +6,7 @@ fr: tabs_en_test_html: L’onglet « en test » regroupe les démarches qui ne sont pas encore publiées. Les dossiers déposés pendant la phase de test seront automatiquement supprimés lors de la modification ou de la publication de la démarche. tabs_close_html: L’onglet « terminée » regroupe les démarches closes n'ayant plus de dossiers à traiter. tabs_a_suivre_html: L’onglet « à suivre » contient l’ensemble des dossiers qui ne sont suivis par aucun instructeur. Pour s’affecter le dossier, il suffit de cliquer sur « Suivre » le dossier. - tabs_suivis_html: L’onglet « suivis par moi » contient les dossiers suivis par vous et les autres instructeurs assignés à la démarche. Lorsque vous (ou un autre instructeur) suivez un dossier, ce dossier n'apparaît plus dans les dossiers « à suivre ». Si vous souhaitez visualiser uniquement les dossiers que vous suivez, il suffit d’activer l’option « Afficher uniquement mes dossiers suivis » au-dessus du tableau. Vous pouvez échanger avec le demandeur jusqu’à pouvoir accepter, refuser classer sans suite son dossier. + tabs_suivis_html: L’onglet « suivis par moi» contient les dossiers que vous suivez. Lorsque vous (ou un autre instructeur) suivez un dossier, ce dossier n'apparaît plus dans les dossiers « à suivre ». Vous pouvez échanger avec le demandeur jusqu’à pouvoir accepter, refuser classer sans suite son dossier. tabs_traites_html: L’onglet « traité » contient les dossiers sur lesquels un ou plusieurs instructeurs ont statué et apporté une décision (accepté, refusé ou classé sans suite). tabs_tous_html: L’onglet « au total » contient l'ensemble des dossiers déposés sur cette démarche, quel que soit leur statut (« à suivre », « suivi », « traité »). Si les dossiers sont routés dans des groupes instructeurs, vous ne trouverez dans cet onglet que les dossiers du (des) groupe(s) dont vous faites partie. tabs_supprimes_html: "L’onglet « corbeille » contient :
- les dossiers dont le délai de conservation a expiré (la durée de conservation des dossiers est fixée par l'administrateur de la démarche).
- les dossiers « traités » qui ont été mis à la corbeille par les instructeurs.
À partir de la date à laquelle les dossiers ont été mis dans la corbeille, vous disposez d’un délai de 7 jours pour les télécharger / restaurer / étendre leur durée de conservation d’un mois. Passé ce délai, ces dossiers seront supprimés définitivement." diff --git a/config/locales/views/instructeurs/procedures/fr.yml b/config/locales/views/instructeurs/procedures/fr.yml index ba189d4ca..0ae831df6 100644 --- a/config/locales/views/instructeurs/procedures/fr.yml +++ b/config/locales/views/instructeurs/procedures/fr.yml @@ -3,7 +3,7 @@ fr: procedures: index: to_follow: à suivre - followed: suivis + followed: suivis par moi processed: traités all: dossiers archived: à archiver diff --git a/spec/controllers/instructeurs/procedures_controller_spec.rb b/spec/controllers/instructeurs/procedures_controller_spec.rb index a05dba408..9bb0c8af9 100644 --- a/spec/controllers/instructeurs/procedures_controller_spec.rb +++ b/spec/controllers/instructeurs/procedures_controller_spec.rb @@ -113,7 +113,7 @@ describe Instructeurs::ProceduresController, type: :controller do it { expect(assigns(:dossiers_expirant_count_per_procedure)[procedure.id]).to eq(nil) } it { expect(assigns(:all_dossiers_counts)['à suivre']).to eq(0) } - it { expect(assigns(:all_dossiers_counts)['suivis']).to eq(0) } + it { expect(assigns(:all_dossiers_counts)['suivis par moi']).to eq(0) } it { expect(assigns(:all_dossiers_counts)['traités']).to eq(0) } it { expect(assigns(:all_dossiers_counts)['dossiers']).to eq(0) } it { expect(assigns(:all_dossiers_counts)['expirant']).to eq(0) } @@ -174,7 +174,7 @@ describe Instructeurs::ProceduresController, type: :controller do it { expect(assigns(:dossiers_count_per_procedure)[procedure3.id]).to eq(2) } it { expect(assigns(:all_dossiers_counts)['à suivre']).to eq(3 + 0) } - it { expect(assigns(:all_dossiers_counts)['suivis']).to eq(0 + 1) } + it { expect(assigns(:all_dossiers_counts)['suivis par moi']).to eq(0 + 1) } it { expect(assigns(:all_dossiers_counts)['traités']).to eq(2 + 1 + 1 + 1) } it { expect(assigns(:all_dossiers_counts)['dossiers']).to eq(5 + 3 + 2 + 1) } it { expect(assigns(:all_dossiers_counts)['expirant']).to eq(2 + 0) } @@ -236,7 +236,7 @@ describe Instructeurs::ProceduresController, type: :controller do it { expect(assigns(:dossiers_count_per_procedure)[procedure.id]).to eq(4 + 6 + 10) } it { expect(assigns(:all_dossiers_counts)['à suivre']).to eq(4) } - it { expect(assigns(:all_dossiers_counts)['suivis']).to eq(6) } + it { expect(assigns(:all_dossiers_counts)['suivis par moi']).to eq(6) } it { expect(assigns(:all_dossiers_counts)['traités']).to eq(10) } it { expect(assigns(:all_dossiers_counts)['dossiers']).to eq(4 + 6 + 10) } end @@ -255,7 +255,7 @@ describe Instructeurs::ProceduresController, type: :controller do it { expect(assigns(:dossiers_count_per_procedure)[procedure.id]).to eq(2 + 3 + 5) } it { expect(assigns(:all_dossiers_counts)['à suivre']).to eq(2) } - it { expect(assigns(:all_dossiers_counts)['suivis']).to eq(3) } + it { expect(assigns(:all_dossiers_counts)['suivis par moi']).to eq(3) } it { expect(assigns(:all_dossiers_counts)['traités']).to eq(5) } it { expect(assigns(:all_dossiers_counts)['dossiers']).to eq(2 + 3 + 5) } end @@ -286,7 +286,7 @@ describe Instructeurs::ProceduresController, type: :controller do it 'contains tabs explanation' do expect(response.body).to have_text('L’onglet « à suivre » contient') - expect(response.body).to have_text('L’onglet « suivi » contient') + expect(response.body).to have_text('L’onglet « suivis par moi» contient') expect(response.body).to have_text('L’onglet « traité » contient') expect(response.body).to have_text('L’onglet « au total » contient') expect(response.body).to have_text('L’onglet « corbeille » contient') diff --git a/spec/system/instructeurs/instruction_spec.rb b/spec/system/instructeurs/instruction_spec.rb index 594387cdf..ae73fd402 100644 --- a/spec/system/instructeurs/instruction_spec.rb +++ b/spec/system/instructeurs/instruction_spec.rb @@ -114,7 +114,7 @@ describe 'Instructing a dossier:', js: true do test_statut_bar(suivi: 1, tous_les_dossiers: 1) expect(page).to have_text('Aucun dossier') - click_on 'suivi' + click_on 'suivi par moi' expect(page).to have_current_path(instructeur_procedure_path(procedure, statut: 'suivis')) dossier_present?(dossier.id, 'en construction') @@ -334,7 +334,7 @@ describe 'Instructing a dossier:', js: true do def test_statut_bar(a_suivre: 0, suivi: 0, traite: 0, tous_les_dossiers: 0, archive: 0) texts = [ "#{a_suivre} à suivre", - "#{suivi} suivi", + "#{suivi} suivi par moi", "#{traite} traité", "#{tous_les_dossiers} au total", "à archiver" diff --git a/spec/system/routing/rules_full_scenario_spec.rb b/spec/system/routing/rules_full_scenario_spec.rb index 9da862f61..73c7759ff 100644 --- a/spec/system/routing/rules_full_scenario_spec.rb +++ b/spec/system/routing/rules_full_scenario_spec.rb @@ -214,7 +214,7 @@ describe 'The routing with rules', js: true do expect(find('nav.fr-tabs')).to have_css('span.notifications') ## on the dossier itself - click_on 'suivi' + click_on 'suivi par moi' click_on litteraire_user.email expect(page).to have_current_path(instructeur_dossier_path(procedure, litteraire_user.dossiers.first, statut: :suivis)) expect(page).to have_text('Annotations privées') diff --git a/spec/views/instructeur/procedures/_synthese.html.haml_spec.rb b/spec/views/instructeur/procedures/_synthese.html.haml_spec.rb index 2a9bf1347..4605d583a 100644 --- a/spec/views/instructeur/procedures/_synthese.html.haml_spec.rb +++ b/spec/views/instructeur/procedures/_synthese.html.haml_spec.rb @@ -12,7 +12,7 @@ describe 'instructeurs/procedures/_synthese', type: :view do render 'instructeurs/procedures/synthese', all_dossiers_counts: { 'à suivre': 0, - 'suivis': 0, + 'suivis par moi': 0, 'traités': 1, 'dossiers': 1, 'à archiver': 0 @@ -21,7 +21,7 @@ describe 'instructeurs/procedures/_synthese', type: :view do } it { is_expected.to have_text('Synthèse des dossiers') } - it { is_expected.not_to have_text('suivis') } + it { is_expected.not_to have_text('suivis par moi') } it { is_expected.to have_text('traités') } it { is_expected.to have_text('dossiers') } it { is_expected.not_to have_text('à archiver') } @@ -32,7 +32,7 @@ describe 'instructeurs/procedures/_synthese', type: :view do render 'instructeurs/procedures/synthese', all_dossiers_counts: { 'à suivre': 0, - 'suivis': 0, + 'suivis par moi': 0, 'traités': 1, 'dossiers': 1, 'à archiver': 0 @@ -41,7 +41,7 @@ describe 'instructeurs/procedures/_synthese', type: :view do } it { is_expected.not_to have_text('Synthèse des dossiers') } - it { is_expected.not_to have_text('suivis') } + it { is_expected.not_to have_text('suivis par moi') } it { is_expected.not_to have_text('traités') } it { is_expected.not_to have_text('dossiers') } it { is_expected.not_to have_text('à archiver') }