Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Corrected challenge name #480

Merged
merged 1 commit into from
Aug 3, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions actions/challengeRegistration.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/';
Expand All @@ -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')
Expand Down