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')
|
||||
%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?
|
||||
#invite-list
|
||||
%ul
|
||||
|
|
|
@ -338,9 +338,10 @@ en:
|
|||
send_invitation: Send an invitation
|
||||
withdraw_permission: "Withdraw the permission"
|
||||
want_to_withdraw_permission: "Would you like to withdraw the permission of %{email}?"
|
||||
edit_dossier:
|
||||
one: "1 user can edit this file."
|
||||
other: "%{count} users can edit this file."
|
||||
edit_dossier_html:
|
||||
zero: '<p class="fr-h6">No user can edit this file.</p>'
|
||||
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."
|
||||
pagination:
|
||||
next: Next
|
||||
|
|
|
@ -331,10 +331,10 @@ fr:
|
|||
send_invitation: Envoyer une invitation
|
||||
withdraw_permission: "Révoquer l’autorisation"
|
||||
want_to_withdraw_permission: "Souhaitez-vous supprimer l’autorisation de %{email} ?"
|
||||
edit_dossier:
|
||||
zero: "Aucun invité peut modifier ce dossier"
|
||||
one: "1 invité peut modifier ce dossier"
|
||||
other: "%{count} invités peuvent modifier ce dossier"
|
||||
edit_dossier_html:
|
||||
zero: '<p class="fr-h6">Aucun invité peut modifier ce dossier.</p>'
|
||||
one: '<h5 class="fr-h6">1 invité peut modifier ce dossier</h5>'
|
||||
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."
|
||||
pagination:
|
||||
next: Suivant
|
||||
|
|
Loading…
Add table
Reference in a new issue