This will really delete all of your progress, points, completed
- challenges, our records of your projects, any certificates you have,
+ challenges, our records of your projects, any certifications you have,
everything.
diff --git a/common/app/routes/Settings/formHelpers/Form.jsx b/common/app/routes/Settings/formHelpers/Form.jsx
index f9461c2172..54bfe34316 100644
--- a/common/app/routes/Settings/formHelpers/Form.jsx
+++ b/common/app/routes/Settings/formHelpers/Form.jsx
@@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import { reduxForm } from 'redux-form';
-import { FormFields, BlockSaveButton, BlockSaveWrapper } from './';
+import { FormFields, BlockSaveButton } from './';
const propTypes = {
buttonText: PropTypes.string,
@@ -50,22 +50,20 @@ function DynamicForm({
fields={ fields }
options={ options }
/>
-
- {
- hideButton ?
- null :
- errors[key]).length)
- }
- >
- {
- buttonText ? buttonText : null
- }
-
- }
-
+ {
+ hideButton ?
+ null :
+ errors[key]).length)
+ }
+ >
+ {
+ buttonText ? buttonText : null
+ }
+
+ }
);
}
diff --git a/common/resource/academicPolicy.js b/common/resource/academicPolicy.js
index 4efc832ee2..6f2a7cb43e 100644
--- a/common/resource/academicPolicy.js
+++ b/common/resource/academicPolicy.js
@@ -1,5 +1,5 @@
const policy = [
- 'Before you can claim a verified certificate, you must accept the ' +
+ 'Before you can claim a verified certification, you must accept the ' +
'Academic Honesty Policy below.',
'I understand that plagiarism means copying someone else’s work and ' +
'presenting the work as if it were my own, without clearly attributing ' +
diff --git a/server/boot/certificate.js b/server/boot/certificate.js
index 468ebfddf1..df6f312d52 100644
--- a/server/boot/certificate.js
+++ b/server/boot/certificate.js
@@ -138,7 +138,7 @@ function sendCertifiedEmail(
from: 'team@freeCodeCamp.org',
subject: dedent`
Congratulations on completing all of the
- freeCodeCamp certificates!
+ freeCodeCamp certifications!
`,
text: renderCertifedEmail({
username,
@@ -190,16 +190,16 @@ export default function certificate(app) {
verifyCert
);
router.get(
- '/certificates/:username/:cert',
+ '/certification/:username/:cert',
showCert
);
app.use(router);
const noNameMessage = dedent`
- We need your name so we can put it on your certificate.
+ We need your name so we can put it on your certification.
Add your name to your account settings and click the save button.
- Then we can issue your certificate.
+ Then we can issue your certification.
`;
const notCertifiedMessage = name => dedent`
diff --git a/server/boot/home.js b/server/boot/home.js
index d32736d63f..2c2f2b591d 100644
--- a/server/boot/home.js
+++ b/server/boot/home.js
@@ -39,11 +39,12 @@ module.exports = function(app, done) {
const homePage = user ? 'userHome' : 'noUserHome';
const { quote, author} = getRandomQuote();
const title = user ?
- `Welcome back ${user.name ? user.name : 'Camper'}` :
+ `Welcome, ${user.name ? user.name : 'Camper'}!` :
'Learn to Code and Help Nonprofits';
const completedChallengeCount = user && user.completedChallengeCount || 0;
const completedProjectCount = user && user.completedProjectCount || 0;
const completedCertCount = user && user.completedCertCount || 0;
+ const completedLegacyCertCount = user && user.completedLegacyCertCount || 0;
Promise.all([
// news.getFeed(),
About.getActiveUsersForRendering()
@@ -60,6 +61,7 @@ module.exports = function(app, done) {
completedChallengeCount,
completedProjectCount,
completedCertCount,
+ completedLegacyCertCount,
// feed,
quote,
title
diff --git a/server/component-passport.js b/server/component-passport.js
index 63104737ff..f3a0101f35 100644
--- a/server/component-passport.js
+++ b/server/component-passport.js
@@ -22,7 +22,14 @@ function getCompletedCertCount(user) {
'isJsAlgoDataStructCert',
'isRespWebDesignCert'
].reduce((sum, key) => user[key] ? sum + 1 : sum, 0);
+}
+function getLegacyCertCount(user) {
+ return [
+ 'isFrontEndCert',
+ 'isBackEndCert',
+ 'isDataVisCert'
+ ].reduce((sum, key) => user[key] ? sum + 1 : sum, 0);
}
PassportConfigurator.prototype.init = function passportInit(noSession) {
@@ -72,6 +79,7 @@ PassportConfigurator.prototype.init = function passportInit(noSession) {
user.completedChallengeCount = completedChallengeCount;
user.completedProjectCount = completedProjectCount;
user.completedCertCount = getCompletedCertCount(user);
+ user.completedLegacyCertCount = getLegacyCertCount(user);
user.completedChallenges = [];
return done(null, user);
});
diff --git a/server/views/certificate/advanced-front-end.jade b/server/views/certificate/advanced-front-end.jade
index e25d05cbc7..0409b6314d 100644
--- a/server/views/certificate/advanced-front-end.jade
+++ b/server/views/certificate/advanced-front-end.jade
@@ -20,7 +20,7 @@ include styles
h3 has successfully completed freeCodeCamp's
h1
strong Advanced Frontend Projects
- h4 1 of 3 legacy freeCodeCamp certificates, representing approximately 400 hours of coursework
+ h4 1 of 3 legacy freeCodeCamp certification, representing approximately 400 hours of coursework
footer
.row.signatures
@@ -29,4 +29,4 @@ include styles
strong Quincy Larson
p Executive Director, freeCodeCamp.org
.row
- p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/advanced-front-end
\ No newline at end of file
+ p.verify Verify this certification at: https://freecodecamp.org/certification/#{username}/advanced-front-end
\ No newline at end of file
diff --git a/server/views/certificate/apis-and-microservices.jade b/server/views/certificate/apis-and-microservices.jade
index 5f5793565f..1b4b4cdf33 100644
--- a/server/views/certificate/apis-and-microservices.jade
+++ b/server/views/certificate/apis-and-microservices.jade
@@ -20,7 +20,7 @@ include styles
h3 has successfully completed freeCodeCamp's
h1
strong APIs and Microservices Projects
- h4 1 of 6 freeCodeCamp certificates, representing approximately 300 hours of coursework
+ h4 1 of 6 freeCodeCamp certifications, representing approximately 300 hours of coursework
footer
.row.signatures
@@ -29,4 +29,4 @@ include styles
strong Quincy Larson
p Executive Director, freeCodeCamp.org
.row
- p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/apis-and-microservices
+ p.verify Verify this certification at: https://freecodecamp.org/certification/#{username}/apis-and-microservices
diff --git a/server/views/certificate/data-visualization.jade b/server/views/certificate/data-visualization.jade
index e4c34c3543..301917125e 100644
--- a/server/views/certificate/data-visualization.jade
+++ b/server/views/certificate/data-visualization.jade
@@ -20,7 +20,7 @@ include styles
h3 has successfully completed freeCodeCamp's
h1
strong Data Visualization Projects
- h4 1 of 6 freeCodeCamp certificates, representing approximately 300 hours of coursework
+ h4 1 of 6 freeCodeCamp certifications, representing approximately 300 hours of coursework
footer
.row.signatures
@@ -29,4 +29,4 @@ include styles
strong Quincy Larson
p Executive Director, freeCodeCamp.org
.row
- p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/data-visualization
+ p.verify Verify this certification at: https://freecodecamp.org/certification/#{username}/data-visualization
diff --git a/server/views/certificate/front-end-libraries.jade b/server/views/certificate/front-end-libraries.jade
index 1108949a40..eef1cfd084 100644
--- a/server/views/certificate/front-end-libraries.jade
+++ b/server/views/certificate/front-end-libraries.jade
@@ -20,7 +20,7 @@ include styles
h3 has successfully completed freeCodeCamp's
h1
strong Front End Libraries Projects
- h4 1 of 6 freeCodeCamp certificates, representing approximately 300 hours of coursework
+ h4 1 of 6 freeCodeCamp certifications, representing approximately 300 hours of coursework
footer
.row.signatures
@@ -29,4 +29,4 @@ include styles
strong Quincy Larson
p Executive Director, freeCodeCamp.org
.row
- p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/front-end-libraries
+ p.verify Verify this certification at: https://freecodecamp.org/certification/#{username}/front-end-libraries
diff --git a/server/views/certificate/information-security-and-quality-assurance.jade b/server/views/certificate/information-security-and-quality-assurance.jade
index a6a7ecbd62..c0b87f40ff 100644
--- a/server/views/certificate/information-security-and-quality-assurance.jade
+++ b/server/views/certificate/information-security-and-quality-assurance.jade
@@ -20,7 +20,7 @@ include styles
h3 has successfully completed freeCodeCamp's
h1
strong Information Security and Quality Assurance Projects
- h4 1 of 6 freeCodeCamp certificates, representing approximately 300 hours of coursework
+ h4 1 of 6 freeCodeCamp certifications, representing approximately 300 hours of coursework
footer
.row.signatures
@@ -29,4 +29,4 @@ include styles
strong Quincy Larson
p Executive Director, freeCodeCamp.org
.row
- p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/information-security-and-quality-assurance
+ p.verify Verify this certification at: https://freecodecamp.org/certification/#{username}/information-security-and-quality-assurance
diff --git a/server/views/certificate/javascript-algorithms-and-data-structures.jade b/server/views/certificate/javascript-algorithms-and-data-structures.jade
index 0033d50e2d..f710c44564 100644
--- a/server/views/certificate/javascript-algorithms-and-data-structures.jade
+++ b/server/views/certificate/javascript-algorithms-and-data-structures.jade
@@ -19,8 +19,8 @@ include styles
strong= name
h3 has successfully completed freeCodeCamp's
h1
- strong JavaScript Algorithms and Data Structures Certificate
- h4 1 of 6 freeCodeCamp certificates, representing approximately 300 hours of coursework
+ strong JavaScript Algorithms and Data Structures Projects
+ h4 1 of 6 freeCodeCamp certifications, representing approximately 300 hours of coursework
footer
.row.signatures
@@ -29,4 +29,4 @@ include styles
strong Quincy Larson
p Executive Director, freeCodeCamp.org
.row
- p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/javascript-algorithms-and-data-structures
+ p.verify Verify this certification at: https://freecodecamp.org/certification/#{username}/javascript-algorithms-and-data-structures
diff --git a/server/views/certificate/legacy/back-end.jade b/server/views/certificate/legacy/back-end.jade
index c2cce165da..eb2e50b253 100644
--- a/server/views/certificate/legacy/back-end.jade
+++ b/server/views/certificate/legacy/back-end.jade
@@ -20,7 +20,7 @@ include ../styles
h3 has successfully completed freeCodeCamp's
h1
strong Back End Development Projects
- h4 1 of 3 legacy freeCodeCamp certificates, representing approximately 400 hours of coursework
+ h4 1 of 3 legacy freeCodeCamp certifications, representing approximately 400 hours of coursework
footer
.row.signatures
@@ -29,4 +29,4 @@ include ../styles
strong Quincy Larson
p Executive Director, freeCodeCamp.org
.row
- p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/legacy-back-end
+ p.verify Verify this certification at: https://freecodecamp.org/certification/#{username}/legacy-back-end
diff --git a/server/views/certificate/legacy/data-visualization.jade b/server/views/certificate/legacy/data-visualization.jade
index bf9537fca4..91b462e588 100644
--- a/server/views/certificate/legacy/data-visualization.jade
+++ b/server/views/certificate/legacy/data-visualization.jade
@@ -20,7 +20,7 @@ include ../styles
h3 has successfully completed freeCodeCamp's
h1
strong Data Visualization Projects
- h4 1 of 3 legacy freeCodeCamp certificates, representing approximately 400 hours of coursework
+ h4 1 of 3 legacy freeCodeCamp certifications, representing approximately 400 hours of coursework
footer
.row.signatures
@@ -29,4 +29,4 @@ include ../styles
strong Quincy Larson
p Executive Director, freeCodeCamp.org
.row
- p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/legacy-data-visualization
+ p.verify Verify this certification at: https://freecodecamp.org/certification/#{username}/legacy-data-visualization
diff --git a/server/views/certificate/legacy/front-end.jade b/server/views/certificate/legacy/front-end.jade
index 56cd262af4..f11460354f 100644
--- a/server/views/certificate/legacy/front-end.jade
+++ b/server/views/certificate/legacy/front-end.jade
@@ -20,7 +20,7 @@ include ../styles
h3 has successfully completed freeCodeCamp's
h1
strong Front End Development Projects
- h4 1 of 3 legacy freeCodeCamp certificates, representing approximately 400 hours of coursework
+ h4 1 of 3 legacy freeCodeCamp certifications, representing approximately 400 hours of coursework
footer
.row.signatures
@@ -29,4 +29,4 @@ include ../styles
strong Quincy Larson
p Executive Director, freeCodeCamp.org
.row
- p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/legacy-front-end
+ p.verify Verify this certification at: https://freecodecamp.org/certification/#{username}/legacy-front-end
diff --git a/server/views/certificate/legacy/full-stack.jade b/server/views/certificate/legacy/full-stack.jade
index 5fd4ab7920..4dda5f8a70 100644
--- a/server/views/certificate/legacy/full-stack.jade
+++ b/server/views/certificate/legacy/full-stack.jade
@@ -20,7 +20,7 @@ include ../styles
h3 has successfully completed freeCodeCamp's
h1
strong Legacy Full Stack Development Program
- h4 All three of the legacy freeCodeCamp certificates, representing approximately 12000 hours of coursework
+ h4 All three of the legacy freeCodeCamp certifications, representing approximately 12000 hours of coursework
footer
.row.signatures
@@ -29,4 +29,4 @@ include ../styles
strong Quincy Larson
p Executive Director, freeCodeCamp.org
.row
- p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/legacy-full-stack
\ No newline at end of file
+ p.verify Verify this certification at: https://freecodecamp.org/certification/#{username}/legacy-full-stack
\ No newline at end of file
diff --git a/server/views/certificate/responsive-web-design.jade b/server/views/certificate/responsive-web-design.jade
index 5030b879d4..f55245000d 100644
--- a/server/views/certificate/responsive-web-design.jade
+++ b/server/views/certificate/responsive-web-design.jade
@@ -20,7 +20,7 @@ include styles
h3 has successfully completed freeCodeCamp's
h1
strong Responsive Web Design Projects
- h4 1 of 6 freeCodeCamp certificates, representing approximately 300 hours of coursework
+ h4 1 of 6 freeCodeCamp certifications, representing approximately 300 hours of coursework
footer
.row.signatures
@@ -29,4 +29,4 @@ include styles
strong Quincy Larson
p Executive Director, freeCodeCamp.org
.row
- p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/responsive-web-design
+ p.verify Verify this certification at: https://freecodecamp.org/certification/#{username}/responsive-web-design
diff --git a/server/views/emails/certified.ejs b/server/views/emails/certified.ejs
index 5d72f78cf8..15958f2298 100644
--- a/server/views/emails/certified.ejs
+++ b/server/views/emails/certified.ejs
@@ -1,8 +1,8 @@
Hi <%= name || username %>,
-Congratulations on completing all of the freeCodeCamp certificates!
+Congratulations on completing all of the freeCodeCamp certifications!
-All of your certificates are now live at at: https://www.freecodecamp.org/<%= username %>
+All of your certifications are now live at at: https://www.freecodecamp.org/<%= username %>
Please tell me a bit more about you and your near-term goals.
diff --git a/server/views/homePartials/stats.jade b/server/views/homePartials/stats.jade
index dc913c03ef..e54a2c3433 100644
--- a/server/views/homePartials/stats.jade
+++ b/server/views/homePartials/stats.jade
@@ -16,6 +16,15 @@
strong
span.green-text 30
| projects
+ if !!completedLegacyCertCount
+ p.stats
+ | You have earned
+ strong
+ span.green-text=completedLegacyCertCount
+ | out of
+ strong
+ span.green-text 3
+ | legacy certifications
p.stats
| You have earned
strong
diff --git a/server/views/noUserHome.jade b/server/views/noUserHome.jade
index db3db52b16..2872228ec3 100644
--- a/server/views/noUserHome.jade
+++ b/server/views/noUserHome.jade
@@ -13,7 +13,7 @@ block content
.col-xs-12.col-sm-12.col-md-4
img.img-responsive.landing-icon.img-center(src= 'https://s3.amazonaws.com/freecodecamp/landing-icon-certificate.svg', alt='Help nonprofits with bro bono code projects')
- p.large-p Build projects and earn free certificates.
+ p.large-p Build projects and earn free certifications.
.col-xs-12.col-sm-12.col-md-4
img.img-responsive.landing-icon.img-center(src= 'https://s3.amazonaws.com/freecodecamp/landing-icon-experience.svg', alt='Get hired as a developer and start your software engineer career')
diff --git a/server/views/userHome.jade b/server/views/userHome.jade
index b1528ff831..56c2dbba2f 100644
--- a/server/views/userHome.jade
+++ b/server/views/userHome.jade
@@ -15,7 +15,7 @@ block content
.big-break
.row
.col-xs-12.col-sm-8.col-sm-offset-2
- a.btn.btn-cta.btn-block.btn-lg.btn-primary(href="/challenges/current-challenge") Go to my next lesson
+ a.btn.btn-cta.btn-block.btn-lg.btn-primary(href="/challenges/current-challenge") Go to my next coding challenge
.big-break
.big-break
.big-break