From: Jalal Almutawa Date: Sun, 20 Dec 2015 17:55:12 +0000 (+0300) Subject: Implements JIRA issue MRM-1201 X-Git-Tag: archiva-2.2.1~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F20%2Fhead;p=archiva.git Implements JIRA issue MRM-1201 --- 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'});