Implements JIRA issue MRM-1201

This commit is contained in:
Jalal Almutawa 2015-12-20 20:55:12 +03:00
parent 389a3fe3b4
commit 2762496625
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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'});