Skip to content

Commit 45785aa

Browse files
committed
Merge pull request code-dot-org#580 from code-dot-org/test
DTP
2 parents 139b2bd + 3e7f7e5 commit 45785aa

File tree

10 files changed

+47
-28
lines changed

10 files changed

+47
-28
lines changed

dashboard/app/models/eval.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ def self.toolbox
7373
<block type="functional_logical_not" />
7474
<block type="functional_boolean" />
7575
</category>
76+
<category name ="Cond">
77+
<block type="functional_cond_1" />
78+
<block type="functional_cond_2" />
79+
<block type="functional_cond_3" />
80+
<block type="functional_cond_4" />
81+
</category>
7682
<category name="Functions" custom="PROCEDURE"/>
7783
<category name="Variables" custom="FUNCTIONAL_VARIABLE" />
7884
XML

dashboard/app/models/studio.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,13 @@ def common_blocks(type)
298298
<block type="functional_logical_not" />
299299
<block type="functional_boolean" />
300300
</category>
301+
<category name ="Functional Cond">
302+
<block type="functional_cond_1" />
303+
<block type="functional_cond_2" />
304+
<block type="functional_cond_3" />
305+
<block type="functional_cond_4" />
306+
</category>
307+
301308
#{k1_blocks(type) if is_k1 == 'true'}
302309
XML
303310
end

pegasus/data/cdo-news-items.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ heading_s,url_s,date_s,publication_s,tag_s*,site_s*
1515
,,,,,
1616
,,,,,
1717
,,,,,
18-
,,,,,
19-
,,,,,
18+
Ireland's head of state learns an Hour of Code,http://www.independent.ie/videos/irish-news/video-taoiseach-is-first-head-of-state-to-partake-in-the-hour-of-code-30779183.html,11/27/2014,The Irish Independent,news,all
2019
"In partnership with Fox, Code.org adds Ice Age's Scrat to tutorial lineup",http://codeorg.tumblr.com/post/103557585923/scrat,11/25/2014,Code.org,news,code.org
20+
Making it Count: Computer science spreads as graduation requirement,http://www.usnews.com/news/stem-solutions/articles/2014/11/25/making-it-count-computer-science-spreads-as-graduation-requirement,11/25/2014,US News & World Report,csnews,all
2121
Chicago schools add computer science to the core curriculum,http://www.washingtonpost.com/opinions/catherine-rampell-chicago-schools-add-computer-science-to-the-core-curriculum/2014/11/24/037c78f0-7417-11e4-a5b2-e1217af6b33d_story.html,11/21/2014,Washington Post,csnews,all
2222
How to get more girls to code: Use Frozen's Elsa,http://www.usatoday.com/story/tech/2014/11/19/disney-codeorg-frozen-girls-computer-programming/19260097/,11/19/2014,USA Today,news,all
2323
Announcing an Hour of Code with Anna and Elsa from Disney’s “Frozen”,http://codeorg.tumblr.com/post/103042812198/frozen,11/19/2014,Code.org,announce,all

pegasus/data/cdo-partners.csv

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ CoderDojo,http://coderdojo.com/,additional,TRUE,FALSE,TRUE,
1919
CodeStart,http://codestart.com/,additional,TRUE,FALSE,TRUE,
2020
Congressional App Challenge,http://congressionalappchallenge.us,additional,TRUE,FALSE,TRUE,
2121
Coursera,https://www.coursera.org/,additional,TRUE,FALSE,TRUE,
22+
Dice.com,http://dice.com,additional,TRUE,TRUE,TRUE,
2223
DigitalUndivided,http://www.digitalundivided.com/,additional,TRUE,FALSE,TRUE,
2324
Discovery Education,http://www.discoveryeducation.com/,additional,TRUE,FALSE,TRUE,
2425
DIY,https://diy.org/,additional,TRUE,FALSE,TRUE,
@@ -35,6 +36,7 @@ Institute for Mathematics and Computer Science,http://www.eimacs.com/,additional
3536
Junior Achievement,https://www.juniorachievement.org/,additional,TRUE,FALSE,TRUE,
3637
Kapor Center for Social Impact,http://kaporcenter.org/,additional,TRUE,FALSE,TRUE,
3738
KIPP Academy of Innovation,http://www.kippla.org/kai/,additional,TRUE,FALSE,TRUE,
39+
Koding,https://koding.com/,additional,TRUE,FALSE,TRUE,
3840
Laer Kidsa Koding,http://www.kidsakoder.no/,additional,TRUE,FALSE,TRUE,
3941
Learn Fresh,http://www.learnfresh.org/,additional,TRUE,FALSE,TRUE,
4042
Mass Technology Leadership Council,http://www.masstlc.org/,additional,TRUE,FALSE,TRUE,
@@ -51,16 +53,20 @@ NBA Math Hoops,http://nbamathhoops.org/,additional,TRUE,FALSE,TRUE,
5153
New Schools Venture Fund,http://www.newschools.org/,additional,TRUE,FALSE,TRUE,
5254
nPower,http://www.npowernw.org/,additional,TRUE,FALSE,TRUE,
5355
One Laptop Per Child,http://one.laptop.org/,additional,TRUE,FALSE,TRUE,
56+
Optimizely,https://www.optimizely.com/,additional,TRUE,FALSE,TRUE,
57+
Pearson,http://www.pearson.com,additional,TRUE,FALSE,TRUE,
5458
Project Lead the Way,http://www.pltw.org,additional,TRUE,FALSE,TRUE,
5559
Quib.ly,http://quib.ly/welcome?v=2&utm_expid=63811575-3.2pOe5DuzReCS3ShLz1oTRA.1,additional,TRUE,FALSE,TRUE,
5660
Quorum,http://quorumlanguage.com/,additional,TRUE,FALSE,TRUE,
5761
Rekode,http://rekode.com/,additional,TRUE,FALSE,TRUE,
5862
Rocketship Education,http://www.rsed.org/,additional,TRUE,FALSE,TRUE,
63+
Rockwell Automation,http://www.rockwellautomation.com,additional,TRUE,FALSE,TRUE,
5964
Science Channel,http://science.discovery.com/,additional,TRUE,FALSE,TRUE,
6065
ScriptEd,http://www.scripted.org/,additional,TRUE,FALSE,TRUE,
6166
Smore,https://www.smore.com/,additional,TRUE,FALSE,TRUE,
6267
Splunk,http://www.splunk.com/,additional,TRUE,FALSE,TRUE,
6368
StudentRND,http://studentrnd.org/,additional,TRUE,FALSE,TRUE,
69+
Tata Consultancy Services,http://www.tcs.com/Pages/default.aspx,additional,TRUE,FALSE,TRUE,
6470
Teaching Kids Programming,http://teachingkidsprogramming.org/,additional,TRUE,FALSE,TRUE,
6571
Teaching Matters,http://www.teachingmatters.org/,additional,TRUE,FALSE,TRUE,
6672
Technovation Challenge,http://www.TechnovationChallenge.org,additional,TRUE,FALSE,TRUE,
@@ -98,6 +104,21 @@ National Council of Teachers of Mathematics,http://www.nctm.org,founder,FALSE,TR
98104
National Math + Science Initiative,http://www.nms.org/,founder,FALSE,TRUE,FALSE,
99105
National Science Teachers Association,http://www.nsta.org/,founder,FALSE,TRUE,FALSE,
100106
SAS,http://www.sas.com/,founder,FALSE,TRUE,FALSE,
107+
Amazon Web Services,http://aws.amazon.com/,infrastructure,TRUE,FALSE,TRUE,
108+
Atlassian HipChat,https://www.hipchat.com/,infrastructure,TRUE,FALSE,TRUE,
109+
Chef,https://www.getchef.com/,infrastructure,TRUE,FALSE,TRUE,
110+
DataPRM,http://datarpm.com,infrastructure,TRUE,FALSE,TRUE,
111+
Dropbox,https://www.dropbox.com,infrastructure,TRUE,FALSE,TRUE,
112+
EdX,https://www.edx.org/,infrastructure,TRUE,FALSE,TRUE,
113+
GitHub,https://education.github.com,infrastructure,TRUE,FALSE,TRUE,
114+
New Relic,http://newrelic.com/,infrastructure,TRUE,FALSE,TRUE,
115+
Optimizely,https://www.optimizely.com/,infrastructure,TRUE,FALSE,TRUE,
116+
Parse,https://parse.com/,infrastructure,TRUE,FALSE,TRUE,
117+
Pivotal Tracker,http://www.pivotaltracker.com/,infrastructure,TRUE,FALSE,TRUE,
118+
RelateIQ,https://www.relateiq.com/,infrastructure,TRUE,FALSE,TRUE,
119+
Typography.com,http://www.typography.com/cloud/welcome/,infrastructure,TRUE,FALSE,TRUE,
120+
WebPurify,http://www.webpurify.com/,infrastructure,TRUE,FALSE,TRUE,
121+
ZenDesk,https://www.zendesk.com/,infrastructure,TRUE,FALSE,TRUE,
101122
Actua,http://www.actua.ca/,international,TRUE,TRUE,TRUE,
102123
Adfaber,http://adfaber.org/,international,TRUE,TRUE,TRUE,
103124
Almooc,http://almooc.com/,international,TRUE,TRUE,TRUE,
@@ -133,6 +154,7 @@ Salesforce,http://salesforce.com,major,TRUE,FALSE,TRUE,
133154
Target,http://www.target.com/,major,TRUE,FALSE,TRUE,
134155
Teach For America,http://www.teachforamerica.org,major,TRUE,FALSE,TRUE,
135156
Yahoo,http://www.yahoo.com,major,TRUE,FALSE,TRUE,
157+
The Walt Disney Company,http://thewaltdisneycompany.com,major,TRUE,FALSE,TRUE,
136158
Zappos.com,http://www.Zappos.com,major,TRUE,FALSE,TRUE,
137159
Computer Science Teachers Association,http://csta.acm.org/,majoruk,TRUE,FALSE,TRUE,
138160
Dropbox,https://www.dropbox.com/,majoruk,TRUE,FALSE,TRUE,
@@ -206,7 +228,6 @@ Bing,http://www.bing.com,promotional,TRUE,TRUE,TRUE,
206228
Boys & Girls Clubs of America,http://GreatFutures.org,promotional,FALSE,TRUE,FALSE,
207229
Common Sense Education,https://www.commonsensemedia.org/educators,promotional,TRUE,FALSE,TRUE,
208230
Computing Research Association,http://www.cra.org/,promotional,TRUE,FALSE,TRUE,
209-
Dice.com,http://dice.com,promotional,TRUE,TRUE,TRUE,
210231
Donors Choose,http://www.donorschoose.org/,promotional,FALSE,TRUE,FALSE,
211232
Dropbox,https://www.dropbox.com/,promotional,FALSE,TRUE,FALSE,
212233
Edmodo,http://www.edmodo.com,promotional,TRUE,FALSE,TRUE,
@@ -222,8 +243,6 @@ MSN,http://www.msn.com,promotional,TRUE,TRUE,TRUE,
222243
National Council of Teachers of Mathematics,http://www.nctm.org,promotional,TRUE,FALSE,TRUE,
223244
National Math + Science Initiative,http://www.nms.org/,promotional,TRUE,FALSE,TRUE,
224245
National Science Teachers Association,http://www.nsta.org/,promotional,TRUE,FALSE,TRUE,
225-
Optimizely,https://www.optimizely.com/,promotional,TRUE,FALSE,TRUE,
226-
Pearson,http://www.pearson.com,promotional,TRUE,TRUE,TRUE,
227246
PopCap,http://www.popcap.com,promotional,FALSE,TRUE,FALSE,
228247
Rovio,http://www.rovio.com,promotional,FALSE,TRUE,FALSE,
229248
Salesforce,http://salesforce.com,promotional,FALSE,TRUE,FALSE,
@@ -232,7 +251,6 @@ School Improvement Network,http://www.schoolimprovement.com/,promotional,TRUE,FA
232251
Scratch,http://scratch.mit.edu/,promotional,TRUE,TRUE,TRUE,
233252
Share My Lesson,http://www.sharemylesson.com/HourofCode,promotional,TRUE,FALSE,TRUE,
234253
Skype,http://www.skype.com,promotional,TRUE,TRUE,TRUE,
235-
Tata Consultancy Services,http://www.tcs.com/Pages/default.aspx,promotional,TRUE,FALSE,TRUE,
236254
Teach For America,http://www.teachforamerica.org,promotional,FALSE,TRUE,FALSE,
237255
Valve,http://www.valvesoftware.com/,promotional,TRUE,TRUE,TRUE,
238256
xBox,http://www.xbox.com,promotional,TRUE,TRUE,TRUE,
@@ -301,20 +319,4 @@ Rewired,http://youngrewiredstate.org,uk,TRUE,FALSE,TRUE,
301319
Tablets,http://www.tabletsforschools.org.uk/,uk,TRUE,FALSE,TRUE,
302320
Tech City UK,http://www.techcityuk.com,uk,TRUE,FALSE,TRUE,
303321
The UK Department for Education,http://www.education.gov.uk,uk,TRUE,FALSE,TRUE,
304-
Wonder,http://wonderpl.com,uk,TRUE,FALSE,TRUE,
305-
Amazon Web Services,http://aws.amazon.com/,infrastructure,TRUE,FALSE,TRUE,
306-
Atlassian HipChat,https://www.hipchat.com/,infrastructure,TRUE,FALSE,TRUE,
307-
Chef,https://www.getchef.com/,infrastructure,TRUE,FALSE,TRUE,
308-
DataPRM,http://datarpm.com,infrastructure,TRUE,FALSE,TRUE,
309-
Dropbox,https://www.dropbox.com,infrastructure,TRUE,FALSE,TRUE,
310-
EdX,https://www.edx.org/,infrastructure,TRUE,FALSE,TRUE,
311-
GitHub,https://education.github.com,infrastructure,TRUE,FALSE,TRUE,
312-
New Relic,http://newrelic.com/,infrastructure,TRUE,FALSE,TRUE,
313-
Optimizely,https://www.optimizely.com/,infrastructure,TRUE,FALSE,TRUE,
314-
Parse,https://parse.com/,infrastructure,TRUE,FALSE,TRUE,
315-
Pivotal Tracker,http://www.pivotaltracker.com/,infrastructure,TRUE,FALSE,TRUE,
316-
RelateIQ,https://www.relateiq.com/,infrastructure,TRUE,FALSE,TRUE,
317-
Typography.com,http://www.typography.com/cloud/welcome/,infrastructure,TRUE,FALSE,TRUE,
318-
WebPurify,http://www.webpurify.com/,infrastructure,TRUE,FALSE,TRUE,
319-
ZenDesk,https://www.zendesk.com/,infrastructure,TRUE,FALSE,TRUE,
320-
Koding,https://koding.com/,additional,TRUE,FALSE,TRUE,
322+
Wonder,http://wonderpl.com,uk,TRUE,FALSE,TRUE,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
http://www.code.org/
Loading

pegasus/sites.v3/code.org/views/learn_carousels.haml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
-if variation == 'learn'
44
#rightbox.desktop-feature{:style=>'float:right'}
5-
%a{:href=>'#notes'}= I18n.t(:educator_notes)
5+
%a{:href=>"http://hourofcode.com/resources/how-to"}= I18n.t(:educator_notes)
66

77
-tutorials = Tutorials.new(variation=='learn' ? :tutorials : :beyond_tutorials)
88

99
#carousel-ie8{:style=>'display:none'}
10-
= view :learn_carousel, :heading=>I18n.t(:older_systems), :subheading=>I18n.t(:older_systems_subheading), :tag=>'IE8', :tutorials=>tutorials, :id=>'collection-ie8'
10+
= view :learn_carousel, :heading=>I18n.t(:older_systems), :subheading=>I18n.t(:older_systems_subheading), :tag=>'IE8', :tutorials=>tutorials, :id=>'collection-ie8', :check_language=>true
1111

1212
#carousel-mobile{:style=>'display:none'}
13-
= view :learn_carousel, :heading=>I18n.t(:mobile_devices), :tag=>'Mobile', :tutorials=>tutorials, :id=>'collection-mobile'
13+
= view :learn_carousel, :heading=>I18n.t(:mobile_devices), :tag=>'Mobile', :tutorials=>tutorials, :id=>'collection-mobile', :check_language=>true
1414

1515
#carousel-international{:style=>'display:none'}
1616
= view :learn_carousel, :heading=>I18n.t(:carousel_heading_international), :tag=>'International', :tutorials=>tutorials, :id=>'collection-international', :international_layout=>true, :check_language=>true

pegasus/sites.v3/csedweek.org/public/educate/3rdparty.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ Free curriculum to teach high-school algebra and geometry concepts using compute
2828
### [CS Unplugged](http://csunplugged.org/)
2929
Fun classroom exercises to teach computer science principles, no computers needed!
3030

31+
### [CS First](http://cs-first.com/)
32+
Free curriculum from Google that uses online, project-based tutorials for elementary and middle school students and offers free club plans and resources to create an easy computer science entry point for educators and students alike.
33+
3134
## Bring Classes to Your School
3235
### [Globaloria](http://www.globaloria.org/)
3336
Teach computer programming through game design - as a full-time class, an in-class module, or afterschool program.

pegasus/sites.v3/i18n.code.org/views/learn_carousels.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
-tutorials = Tutorials.new(variation=='learn' ? :tutorials : :beyond_tutorials)
88

99
#carousel-ie8{:style=>'display:none'}
10-
= view :learn_carousel, :heading=>I18n.t(:older_systems), :subheading=>I18n.t(:older_systems_subheading), :tag=>'IE8', :tutorials=>tutorials, :id=>'collection-ie8'
10+
= view :learn_carousel, :heading=>I18n.t(:older_systems), :subheading=>I18n.t(:older_systems_subheading), :tag=>'IE8', :tutorials=>tutorials, :id=>'collection-ie8', :check_language=>true
1111

1212
#carousel-mobile{:style=>'display:none'}
13-
= view :learn_carousel, :heading=>I18n.t(:mobile_devices), :tag=>'Mobile', :tutorials=>tutorials, :id=>'collection-mobile'
13+
= view :learn_carousel, :heading=>I18n.t(:mobile_devices), :tag=>'Mobile', :tutorials=>tutorials, :id=>'collection-mobile', :check_language=>true
1414

1515
#carousel-international{:style=>'display:none'}
1616
= view :learn_carousel, :heading=>I18n.t(:carousel_heading_international), :tag=>'International', :tutorials=>tutorials, :id=>'collection-international', :international_layout=>true, :check_language=>true

0 commit comments

Comments
 (0)