rename tabs - suivi par moi

This commit is contained in:
Lisa Durand 2024-11-18 14:37:12 +01:00 committed by Colin Darie
parent c8145905cc
commit db21cabc95
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
7 changed files with 15 additions and 15 deletions

View file

@ -6,7 +6,7 @@ en:
tabs_en_test_html: <strong>“in testing”</strong> 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: <strong>“finished”</strong> tab groups together closed procedures with no more files to process.
tabs_a_suivre_html: <strong>“to follow”</strong> 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: <strong>“followed by me“</strong> 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: <strong>“followed by me“</strong> 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: <strong>“processed”</strong> 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: <strong>“total”</strong> 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: "<strong>”trash”</strong> tab contains: <br>- files whose retention period has expired (the retention period of files is set by the administrator of the process).<br> - “processed” files which have been put in the trash by the instructors <br>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."

View file

@ -6,7 +6,7 @@ fr:
tabs_en_test_html: Longlet <strong>« en test »</strong> 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: Longlet <strong>« terminée »</strong> regroupe les démarches closes n'ayant plus de dossiers à traiter.
tabs_a_suivre_html: Longlet <strong>« à suivre »</strong> contient lensemble des dossiers qui ne sont suivis par aucun instructeur. Pour saffecter le dossier, il suffit de cliquer sur « Suivre » le dossier.
tabs_suivis_html: Longlet <strong>« suivis par moi »</strong> 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 dactiver loption « 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: Longlet <strong>« suivis par moi»</strong> 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: Longlet <strong>« traité »</strong> 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: Longlet <strong>« au total »</strong> 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: "Longlet <strong>« corbeille »</strong> contient : <br>- 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).<br>- les dossiers « traités » qui ont été mis à la corbeille par les instructeurs. <br>À partir de la date à laquelle les dossiers ont été mis dans la corbeille, vous disposez dun délai de 7 jours pour les télécharger / restaurer / étendre leur durée de conservation dun mois. Passé ce délai, ces dossiers seront supprimés définitivement."

View file

@ -3,7 +3,7 @@ fr:
procedures:
index:
to_follow: à suivre
followed: suivis
followed: suivis par moi
processed: traités
all: dossiers
archived: à archiver

View file

@ -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('Longlet « à suivre » contient')
expect(response.body).to have_text('Longlet « suivi » contient')
expect(response.body).to have_text('Longlet « suivis par moi» contient')
expect(response.body).to have_text('Longlet « traité » contient')
expect(response.body).to have_text('Longlet « au total » contient')
expect(response.body).to have_text('Longlet « corbeille » contient')

View file

@ -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"

View file

@ -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')

View file

@ -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') }