Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Ajouter une colone locale dans le tableau des invitations à rejoindre une orga en attente sur Pix admin (Pix-16380) #11405

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions admin/app/components/organizations/invitations.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default class OrganizationInvitations extends Component {
<tr>
<th>Adresse e-mail</th>
<th>Rôle</th>
<th>{{t "common.invitations.invitation-locale"}}</th>
<th>Date de dernier envoi</th>
{{#if this.accessControl.hasAccessToOrganizationActionsScope}}
<th>Actions</th>
Expand All @@ -37,6 +38,7 @@ export default class OrganizationInvitations extends Component {
<tr aria-label="Invitation en attente de {{invitation.email}}">
<td>{{invitation.email}}</td>
<td>{{invitation.roleInFrench}}</td>
<td>{{invitation.lang}}</td>
<td>{{dayjsFormat invitation.updatedAt "DD/MM/YYYY [-] HH:mm"}}</td>
{{#if this.accessControl.hasAccessToOrganizationActionsScope}}
<td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ module('Integration | Component | organization-invitations', function (hooks) {
assert.dom(screen.getByText('Membre')).exists();
assert.dom(screen.getByText('Administrateur')).exists();
assert.dom(screen.getByText('-')).exists();
assert.dom(screen.getByText('fr')).exists();
assert.dom(screen.getByText('en')).exists();
assert.dom(screen.getByText('nl')).exists();
assert.dom(screen.queryByText('Aucune invitation en attente')).doesNotExist();
});

Expand Down
1 change: 1 addition & 0 deletions admin/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"mandatory-fields": "The fields marked '<abbr title=\"required\" class=\"mandatory-mark\">'*'</abbr>' are required"
},
"invitations": {
"invitation-locale": "Locale",
"send-new": "Resend the invitation",
"send-new-confirm": "An email has been sent to {invitationEmail}",
"send-new-label": "Resend the invitation to {invitationEmail}"
Expand Down
1 change: 1 addition & 0 deletions admin/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"mandatory-fields": "Les champs marqués de '<abbr title=\"obligatoire\" class=\"mandatory-mark\">'*'</abbr>' sont obligatoires"
},
"invitations": {
"invitation-locale": "Locale",
"send-new": "Renvoyer l'invitation",
"send-new-confirm": "Un email a bien été renvoyé à {invitationEmail}",
"send-new-label": "Renvoyer l'invitation à {invitationEmail}"
Expand Down