From 27624966254af12ac94b82946550f9e6b7ba9a0f Mon Sep 17 00:00:00 2001 From: Jalal Almutawa Date: Sun, 20 Dec 2015 20:55:12 +0300 Subject: [PATCH] Implements JIRA issue MRM-1201 --- .../main/resources/org/apache/archiva/i18n/default.properties | 2 +- .../src/main/webapp/js/archiva/artifacts-management.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties index 75cbd772c..34672bd6b 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties @@ -548,7 +548,7 @@ fileupload.generatePom=Generate Maven POM fileupload.repositoryId=Repository Id fileupload.save=Save Files fileupload.upload.required=You must upload your files first. -fileupload.artifacts.saved=Artifacts uploaded and saved on Server side. +fileupload.artifacts.saved=Artifacts for ''{0}:{1}:{2}'', packaged as ''{3}'', with {4} POM Generated, were uploaded and saved on Server side to ''{5}'' repository. fileupload.deleteAll=Select All #reports diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/artifacts-management.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/artifacts-management.js index acd86dbc7..e87ec5691 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/artifacts-management.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/artifacts-management.js @@ -57,7 +57,8 @@ define("archiva.artifacts-management",["jquery","i18n","utils","jquery.tmpl","kn type: "GET", dataType: 'json', success: function(data) { - displaySuccessMessage($.i18n.prop("fileupload.artifacts.saved")); + displaySuccessMessage($.i18n.prop("fileupload.artifacts.saved", + self.groupId(),self.artifactId(),self.version(),self.packaging(),(self.generatePom()) ? 'a':'no',self.repositoryId())); self.artifactUploads=[]; $("#main-content" ).find("#uploaded-files-list" ).empty(); $.ajax("restServices/archivaUiServices/fileUploadService/clearUploadedFiles", {type: "GET", dataType: 'json'}); -- 2.39.5