From a032be6a0b05c0f3bbd0663fedf83a5d8ddb7250 Mon Sep 17 00:00:00 2001 From: Michael Q Larson Date: Tue, 23 Dec 2014 11:20:31 -0800 Subject: [PATCH] fix finished challenges button --- seed_data/challenges.json | 4 ++-- views/partials/challenges.jade | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/seed_data/challenges.json b/seed_data/challenges.json index fce4df3015d..c85a0eca54f 100644 --- a/seed_data/challenges.json +++ b/seed_data/challenges.json @@ -36,7 +36,7 @@ { "name": "Join our Forum", "time": 5, - "video": "114578442", + "video": "115275066", "challengeNumber": 2, "steps": [ "Go to Free Code Camp's forum: http://forum.freecodecamp.com.", @@ -46,7 +46,7 @@ "Click on the \"Introduce yourself here\" discussion.", "Here you can read through other Free Code Camp community members' self introductions.", "Go ahead and type a brief self introduction of your own.", - "Click on the \"Categories\" drop-down menu. You should see a category called \"Local Chapters\". Click that. If your city isn't already on the list, you can create a topic for it. Otherwise, you can also introduce yourself to the other Code Campers from your city.", + "Click on the \"Categories\" drop-down menu. You should see a category called \"Local Chapters\". Click that. If your city isn't already on the list, create a topic for it. Otherwise, introduce yourself to the other Code Campers from your city.", "Come back here daily to ask questions, engage in discussions, and share links to helpful coding tools." ] }, diff --git a/views/partials/challenges.jade b/views/partials/challenges.jade index 25b47ce5416..de9fd2c3c61 100644 --- a/views/partials/challenges.jade +++ b/views/partials/challenges.jade @@ -7,4 +7,4 @@ a(href="/challenges/#{challenge.challengeNumber}", class="#{ (cc && cc[challenge.challengeNumber] > 0) ? 'strikethrough' : '' }") #{challenge.name} |   (#{challenge.time} mins) - a.btn.btn-primary(href="/done-with-first-100-hours", class="#{ ((cc && cc[59] > 0) || (!cc)) ? 'disabled' : '' }") I've finished all Free Code Camp challenges and all the Easy and Medium CoderByte Challenges \ No newline at end of file + a.btn.btn-primary(href="/done-with-first-100-hours", class="#{ ((cc && cc[59] === 0) || (!cc)) ? 'disabled' : '' }") I've finished all Free Code Camp challenges and all the Easy and Medium CoderByte Challenges \ No newline at end of file