hotfixes - hide help/pair/bug buttons unless has created slack account
This commit is contained in:
@ -626,7 +626,7 @@ module.exports = {
|
|||||||
"?\nMake sure you install Screen Hero here:" +
|
"?\nMake sure you install Screen Hero here:" +
|
||||||
"http://freecodecamp.com/field-guide/how-do-i-install-screenhero\n" +
|
"http://freecodecamp.com/field-guide/how-do-i-install-screenhero\n" +
|
||||||
"Then start your pair program session with *" + userName +
|
"Then start your pair program session with *" + userName +
|
||||||
"* by typing \"/hero @" + userName + "\" into Slack.\n* And"+ userName +
|
"* by typing \"/hero @" + userName + "\" into Slack.\n And *"+ userName +
|
||||||
"*, be sure to launch Screen Hero, then keep coding." +
|
"*, be sure to launch Screen Hero, then keep coding." +
|
||||||
"Another camper may pair with you soon.",
|
"Another camper may pair with you soon.",
|
||||||
channel: '#letspair',
|
channel: '#letspair',
|
||||||
|
@ -91,7 +91,7 @@ block content
|
|||||||
span.ion-close-circled
|
span.ion-close-circled
|
||||||
| Username not found
|
| Username not found
|
||||||
#submitButton.btn.btn-primary.btn-big.btn-block Run code (ctrl + enter)
|
#submitButton.btn.btn-primary.btn-big.btn-block Run code (ctrl + enter)
|
||||||
if (user)
|
if (user && user.sentSlackInvite)
|
||||||
.button-spacer
|
.button-spacer
|
||||||
.btn-group.input-group.btn-group-justified
|
.btn-group.input-group.btn-group-justified
|
||||||
label.btn.btn-success#i-want-help
|
label.btn.btn-success#i-want-help
|
||||||
|
@ -43,6 +43,7 @@ block content
|
|||||||
| Go to my next challenge
|
| Go to my next challenge
|
||||||
br
|
br
|
||||||
| (ctrl + enter)
|
| (ctrl + enter)
|
||||||
|
if (user.sentSlackInvite)
|
||||||
.button-spacer
|
.button-spacer
|
||||||
.btn-group.input-group.btn-group-justified
|
.btn-group.input-group.btn-group-justified
|
||||||
label.btn.btn-success#i-want-help
|
label.btn.btn-success#i-want-help
|
||||||
|
@ -35,8 +35,8 @@ block content
|
|||||||
span.ion-arrow-up-b
|
span.ion-arrow-up-b
|
||||||
| Less information
|
| Less information
|
||||||
#submitButton.btn.btn-primary.btn-big.btn-block Run code (ctrl + enter)
|
#submitButton.btn.btn-primary.btn-big.btn-block Run code (ctrl + enter)
|
||||||
|
if (user && user.sentSlackInvite)
|
||||||
.button-spacer
|
.button-spacer
|
||||||
if (user)
|
|
||||||
.btn-group.input-group.btn-group-justified
|
.btn-group.input-group.btn-group-justified
|
||||||
label.btn.btn-success#i-want-help
|
label.btn.btn-success#i-want-help
|
||||||
i.fa.fa-medkit
|
i.fa.fa-medkit
|
||||||
|
@ -16,11 +16,12 @@ block content
|
|||||||
.embed-responsive.embed-responsive-16by9
|
.embed-responsive.embed-responsive-16by9
|
||||||
iframe.embed-responsive-item(src='//player.vimeo.com/video/#{video}')
|
iframe.embed-responsive-item(src='//player.vimeo.com/video/#{video}')
|
||||||
br
|
br
|
||||||
- if (user)
|
if (user)
|
||||||
a.btn.btn-primary.btn-big.btn-block#completed-courseware I've completed this challenge (ctrl + enter)
|
a.btn.btn-primary.btn-big.btn-block#completed-courseware I've completed this challenge (ctrl + enter)
|
||||||
script.
|
script.
|
||||||
var userLoggedIn = true;
|
var userLoggedIn = true;
|
||||||
.button-spacer
|
.button-spacer
|
||||||
|
if (user.sentSlackInvite)
|
||||||
.btn-group.input-group.btn-group-justified
|
.btn-group.input-group.btn-group-justified
|
||||||
.btn.btn-success.btn-big#i-want-help-editorless
|
.btn.btn-success.btn-big#i-want-help-editorless
|
||||||
i.fa.fa-medkit
|
i.fa.fa-medkit
|
||||||
@ -29,7 +30,7 @@ block content
|
|||||||
i.fa.fa-bug
|
i.fa.fa-bug
|
||||||
| Report a bug
|
| Report a bug
|
||||||
.button-spacer
|
.button-spacer
|
||||||
- else
|
else
|
||||||
a.btn.btn-big.signup-btn.btn-block(href='/login') Sign in so you can save your progress
|
a.btn.btn-big.signup-btn.btn-block(href='/login') Sign in so you can save your progress
|
||||||
script.
|
script.
|
||||||
var userLoggedIn = false;
|
var userLoggedIn = false;
|
||||||
|
@ -16,8 +16,9 @@ block content
|
|||||||
.embed-responsive.embed-responsive-16by9
|
.embed-responsive.embed-responsive-16by9
|
||||||
iframe.embed-responsive-item(src='//player.vimeo.com/video/#{video}')
|
iframe.embed-responsive-item(src='//player.vimeo.com/video/#{video}')
|
||||||
br
|
br
|
||||||
- if (user)
|
if (user)
|
||||||
a.btn.btn-primary.btn-big.btn-block#completed-zipline-or-basejump I've completed this challenge (ctrl + enter)
|
a.btn.btn-primary.btn-big.btn-block#completed-zipline-or-basejump I've completed this challenge (ctrl + enter)
|
||||||
|
if (user.sentSlackInvite)
|
||||||
.button-spacer
|
.button-spacer
|
||||||
.btn-group.input-group.btn-group-justified
|
.btn-group.input-group.btn-group-justified
|
||||||
.btn.btn-success.btn-big#i-want-help-editorless
|
.btn.btn-success.btn-big#i-want-help-editorless
|
||||||
|
@ -5,6 +5,15 @@ block content
|
|||||||
.col-xs-12
|
.col-xs-12
|
||||||
.embed-responsive.embed-responsive-16by9
|
.embed-responsive.embed-responsive-16by9
|
||||||
iframe.embed-responsive-item(src='//player.vimeo.com/video/128853855')
|
iframe.embed-responsive-item(src='//player.vimeo.com/video/128853855')
|
||||||
|
br
|
||||||
|
h3 Note: If you've already completed the HTML, CSS, Bootstrap Waypoints, you do not need to do these new Waypoints.
|
||||||
|
h3 Note: If you were already doing full stack JavaScript Waypoints (Node.js, Angular.js), go ahead and start the Bonfires (Basic Algorithm Scripting).
|
||||||
|
h3 Note: If you're using Firefox and the buttons aren't working, do a full refresh (control/apple + f5). We're working on this.
|
||||||
|
h3 Thanks for your patience everyone! We're confident these curriculum improvements will better prepare you for your nonprofit projects and for the workplace.
|
||||||
|
br
|
||||||
|
br
|
||||||
|
br
|
||||||
|
br
|
||||||
.text-center
|
.text-center
|
||||||
h1.hug-top Code with Us
|
h1.hug-top Code with Us
|
||||||
h2 Let's learn to code by building projects for nonprofits
|
h2 Let's learn to code by building projects for nonprofits
|
||||||
|
@ -6,7 +6,7 @@ block content
|
|||||||
a(href='https://www.linkedin.com/groups?viewMembers=&gid=6966827&sik=1432338555021' target='_blank') and many already have
|
a(href='https://www.linkedin.com/groups?viewMembers=&gid=6966827&sik=1432338555021' target='_blank') and many already have
|
||||||
| ).
|
| ).
|
||||||
h3.hidden-xs.hidden-sm This is a small sampling of the 1,000s of junior software engineer jobs. Learn about the  
|
h3.hidden-xs.hidden-sm This is a small sampling of the 1,000s of junior software engineer jobs. Learn about the  
|
||||||
a(href='http://blog.freecodecamp.com/2014/10/the-real-reason-to-learn-mean-stack.html') the job market in aggregate
|
a(href='http://blog.freecodecamp.com/2014/10/the-real-reason-to-learn-mean-stack.html' target='_blank') the job market in aggregate
|
||||||
| .
|
| .
|
||||||
.spacer
|
.spacer
|
||||||
a.btn.btn-primary.btn-big(href='/jobs-form') My organization is hiring software engineers
|
a.btn.btn-primary.btn-big(href='/jobs-form') My organization is hiring software engineers
|
||||||
|
Reference in New Issue
Block a user