Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Courses: show extra content for students in en #16398

Merged
merged 2 commits into from Jul 13, 2017

Conversation

breville
Copy link
Member

Students on /courses in en should see blocks for CSF, Tools, Hour of Code (1 row only, with new header).

This is a surgical fix to unblock deploy. It's obviously due for a refactor, particularly in the way we're yanking out parts of the all_courses HAML while leaving that file still operational.

courses student en fix

Copy link
Contributor

@tanyaparker tanyaparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The screenshot is right, thank you!! Sorry I messed up in reviewing your previous PR.

@@ -60,6 +60,8 @@ const Courses = React.createClass({
$('#user_hero').appendTo(ReactDOM.findDOMNode(this.refs.userHero)).show();
$('.all-courses').appendTo(ReactDOM.findDOMNode(this.refs.allCourses)).show();
$('.hour-of-code-courses-first-row').appendTo(ReactDOM.findDOMNode(this.refs.hocCoursesFirstRow)).show();
$('.csf-courses').appendTo(ReactDOM.findDOMNode(this.refs.csfCourses)).show();
$('.tools-courses').appendTo(ReactDOM.findDOMNode(this.refs.toolsCourses)).show();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the intention that all/most of these eventually end up in React?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I sure hope so!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yas!

@breville breville merged commit a60a786 into staging Jul 13, 2017
@breville breville deleted the student-courses-en-content-fix branch July 13, 2017 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants