mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 09:52:09 +03:00
Merge pull request #5743 from cobbspur/invitations
Fix wording for failed invitations alert
This commit is contained in:
commit
1ac7d2a348
@ -167,7 +167,8 @@ export default Ember.Controller.extend({
|
||||
});
|
||||
|
||||
if (erroredEmails.length > 0) {
|
||||
message = 'Failed to send ' + erroredEmails.length + ' invitations: ';
|
||||
invitationsString = erroredEmails.length > 1 ? ' invitations: ' : ' invitation: ';
|
||||
message = 'Failed to send ' + erroredEmails.length + invitationsString;
|
||||
message += erroredEmails.join(', ');
|
||||
notifications.showAlert(message, {type: 'error', delayed: successCount > 0});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user