diff --git a/actions/challengeRegistration.js b/actions/challengeRegistration.js index e9ac4260d..f50077b66 100644 --- a/actions/challengeRegistration.js +++ b/actions/challengeRegistration.js @@ -378,7 +378,7 @@ var sendNotificationEmail = function (api, componentInfo, userId, activeForumCat } user = result[0]; - projectName = componentInfo.project_name + api.helper.getPhaseName(componentInfo.phase_id) + ' Contest'; + projectName = componentInfo.project_name; documentationDetails = ''; // we need to set up a new environment variable for the web server name specifici to each environment //submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenge-details/' + challengeId + '/submit/'; @@ -401,11 +401,11 @@ var sendNotificationEmail = function (api, componentInfo, userId, activeForumCat if (challengeType === CHALLENGE_TYPE.DEVELOP) { forumURL = api.config.tcConfig.developForumsUrlPrefix + activeForumCategoryId; reviewURL = process.env.TC_SOFTWARE_SERVER_NAME + '/review/actions/ViewProjectDetails?pid=' + challengeId; - submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenges/' + challengeId + '/submit/file/'; + submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenge-details/' + challengeId + '/submit/?type=develop'; } else if (challengeType === CHALLENGE_TYPE.DESIGN) { forumURL = api.config.tcConfig.studioForumsUrlPrefix + activeForumCategoryId; //submitURL = process.env.TC_STUDIO_SERVER_NAME + '/?module=ViewContestDetails&ct=' + challengeId; - submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenge-details/' + challengeId + '/submit/?type=develop'; + submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenges/' + challengeId + '/submit/file/'; } if (componentInfo.review_type && componentInfo.review_type == 'PEER')