fix(invite): Remove title when there is no guest list
This commit is contained in:
parent
6eb8982db9
commit
d2a7bced4f
3 changed files with 9 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
||||||
%h4.fr-h5= t('views.invites.form.modal_title')
|
%h4.fr-h5= t('views.invites.form.modal_title')
|
||||||
%p.fr-highlight.fr-mb-3w= t('views.invites.form.modal_highlight')
|
%p.fr-highlight.fr-mb-3w= t('views.invites.form.modal_highlight')
|
||||||
|
|
||||||
%h5.fr-h6= t('views.invites.form.edit_dossier', count: invites.size)
|
= t('views.invites.form.edit_dossier_html', count: invites.size)
|
||||||
- if invites.present?
|
- if invites.present?
|
||||||
#invite-list
|
#invite-list
|
||||||
%ul
|
%ul
|
||||||
|
|
|
@ -338,9 +338,10 @@ en:
|
||||||
send_invitation: Send an invitation
|
send_invitation: Send an invitation
|
||||||
withdraw_permission: "Withdraw the permission"
|
withdraw_permission: "Withdraw the permission"
|
||||||
want_to_withdraw_permission: "Would you like to withdraw the permission of %{email}?"
|
want_to_withdraw_permission: "Would you like to withdraw the permission of %{email}?"
|
||||||
edit_dossier:
|
edit_dossier_html:
|
||||||
one: "1 user can edit this file."
|
zero: '<p class="fr-h6">No user can edit this file.</p>'
|
||||||
other: "%{count} users can edit this file."
|
one: '<h5 class="fr-h6">1 user can edit this file</h5>'
|
||||||
|
other: '<h5 class="fr-h6">%{count} users can edit this file</h5>'
|
||||||
submit_dossier_yourself: "You must submit the file yourself when it is complete."
|
submit_dossier_yourself: "You must submit the file yourself when it is complete."
|
||||||
pagination:
|
pagination:
|
||||||
next: Next
|
next: Next
|
||||||
|
|
|
@ -331,10 +331,10 @@ fr:
|
||||||
send_invitation: Envoyer une invitation
|
send_invitation: Envoyer une invitation
|
||||||
withdraw_permission: "Révoquer l’autorisation"
|
withdraw_permission: "Révoquer l’autorisation"
|
||||||
want_to_withdraw_permission: "Souhaitez-vous supprimer l’autorisation de %{email} ?"
|
want_to_withdraw_permission: "Souhaitez-vous supprimer l’autorisation de %{email} ?"
|
||||||
edit_dossier:
|
edit_dossier_html:
|
||||||
zero: "Aucun invité peut modifier ce dossier"
|
zero: '<p class="fr-h6">Aucun invité peut modifier ce dossier.</p>'
|
||||||
one: "1 invité peut modifier ce dossier"
|
one: '<h5 class="fr-h6">1 invité peut modifier ce dossier</h5>'
|
||||||
other: "%{count} invités peuvent modifier ce dossier"
|
other: '<h5 class="fr-h6">%{count} invités peuvent modifier ce dossier</h5>'
|
||||||
submit_dossier_yourself: "Une fois le dossier complet, vous devez le déposer vous-même."
|
submit_dossier_yourself: "Une fois le dossier complet, vous devez le déposer vous-même."
|
||||||
pagination:
|
pagination:
|
||||||
next: Suivant
|
next: Suivant
|
||||||
|
|
Loading…
Add table
Reference in a new issue