Skip to content

Commit

Permalink
Changed message in old UI as well
Browse files Browse the repository at this point in the history
  • Loading branch information
ibazulic committed Oct 1, 2024
1 parent 22e4294 commit 3c046c5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions static/js/directives/ui/logs-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,19 +611,19 @@ angular.module('quay').directive('logsView', function () {
export_logs_success: function (metadata) {
if (metadata.repo) {
if (metadata.url) {
return `Logs export successful: id ${metadata.export_id}, url: ${metadata.url}, repository: ${metadata.repo}`;
return `Logs export queued for delivery: id ${metadata.export_id}, url: ${metadata.url}, repository: ${metadata.repo}`;
} else if (metadata.email) {
return `Logs export successful: id ${metadata.export_id}, email: ${obfuscate_email(metadata.email)}, repository: ${metadata.repo}`;
return `Logs export queued for delivery: id ${metadata.export_id}, email: ${obfuscate_email(metadata.email)}, repository: ${metadata.repo}`;
} else {
return `Logs export successful: id ${metadata.export_id}, url: ${metadata.url}, email: ${obfuscate_email(metadata.email)}, repository: ${metadata.repo}`;
return `Logs export queued for delivery: id ${metadata.export_id}, url: ${metadata.url}, email: ${obfuscate_email(metadata.email)}, repository: ${metadata.repo}`;
}
} else {
if (metadata.url) {
return `User/organization logs export successful: id ${metadata.export_id}, url: ${metadata.url}`;
return `User/organization logs export queued for delivery: id ${metadata.export_id}, url: ${metadata.url}`;
} else if (metadata.email) {
return `User/organization logs export successful: id ${metadata.export_id}, email: ${obfuscate_email(metadata.email)}`;
return `User/organization logs export queued for delivery: id ${metadata.export_id}, email: ${obfuscate_email(metadata.email)}`;
} else {
return `User/organization logs export successful: id ${metadata.export_id}, url: ${metadata.url}, email: ${obfuscate_email(metadata.email)}`;
return `User/organization logs export queued for delivery: id ${metadata.export_id}, url: ${metadata.url}, email: ${obfuscate_email(metadata.email)}`;
}
}
},
Expand Down Expand Up @@ -733,7 +733,7 @@ angular.module('quay').directive('logsView', function () {
'login_failure': 'Login failure',
'autoprune_tag_delete': 'Autoprune worker tag deletion',
'oauth_token_assigned': 'OAuth token assigned',
'export_logs_success': 'Export logs successful',
'export_logs_success': 'Export logs queued for delivery',
'export_logs_failure': 'Export logs failure',

// Note: these are deprecated.
Expand Down

0 comments on commit 3c046c5

Please sign in to comment.