Merge pull request #944 from LLK/release/2.2.13

[Develop] Release 2.2.13
This commit is contained in:
Ray Schamp 2016-10-04 15:48:24 -04:00 committed by GitHub
commit 4083479c9e
7 changed files with 26 additions and 32 deletions

View file

@ -20,3 +20,8 @@
}
}
}
.row-label {
margin-bottom: .75rem;
line-height: 1.7rem;
}

View file

@ -741,8 +741,15 @@ module.exports = {
required /> :
[]
}
<Input label={formatMessage({id: 'teacherRegistration.zipCode'})}
type="text"
<b className="row-label">
<intl.FormattedMessage id="teacherRegistration.zipCode" />
</b>
{this.state.countryChoice !== 'us' ?
<p className="help-text">
<intl.FormattedMessage id="teacherRegistration.notRequired" />
</p> : []
}
<Input type="text"
name="address.zip"
validations={{
maxLength: 10
@ -752,7 +759,7 @@ module.exports = {
id: 'registration.validationMaxLength'
})
}}
required={(this.state.countryChoice === 'us')} />
required={(this.state.countryChoice === 'us') ? true : 'isFalse'} />
<GeneralError name="all" />
<NextStepButton waiting={this.props.waiting || this.state.waiting}
text={<intl.FormattedMessage id="registration.nextStep" />} />

View file

@ -80,11 +80,6 @@ var Credits = React.createClass({
<span className="name">Christan Balch</span>
</li>
<li>
<img src="//cdn.scratch.mit.edu/get_image/user/5721684_170x170.png" alt="Randy Avatar" />
<span className="name">Randy Jou</span>
</li>
<li>
<img src="//cdn.scratch.mit.edu/get_image/user/10866958_170x170.png" alt="Colby Avatar" />
<span className="name">Colby Gutierrez-Kraybill</span>
@ -198,7 +193,7 @@ var Credits = React.createClass({
Amos Blanton, Champika Fernando, Shane Clements, Abdulrahman idlbi, Evelyn Eastmond,
Amon Millner, Eric Rosenbaum, Jay Silver, Karen Brennan, Leo Burd, Oren Zuckerman, Gaia Carini,
Michelle Chung, Margarita Dekoli, Dave Feinberg, Megan Haddadi, Chris Graves, Tony Hwang, Di Liu,
Tammy Stern, Lis Sylvan, Claudia Urrea, Ben Berg, Hannah Cole, and Andrea Saxman.
Tammy Stern, Lis Sylvan, Claudia Urrea, Ben Berg, Hannah Cole, Andrea Saxman, and Randy Jou.
</p>
<h2>Design and Development Partners</h2>

View file

@ -56,7 +56,7 @@ var Hoc = React.createClass({
<a href="/projects/editor/?tip_bar=fly">
<div className="flex-row-card-info">
<img className="flex-row-card-info-img"
src="/images/hoc/make-it-fly-tutorial.png"
src="/images/hoc/make-it-fly-tutorial.jpg"
alt="" />
<Button className="flex-row-card-info-button">
<FormattedMessage id='hoc.tipsMakeItFlyTitle' />
@ -217,7 +217,7 @@ var Hoc = React.createClass({
</div>
<div className="flex-row-card">
<a href="//projects/editor/?tip_bar=dance">
<a href="/projects/editor/?tip_bar=dance">
<div className="flex-row-card-info">
<img className="flex-row-card-info-img"
src="/images/hoc/dance-tutorial.jpg"
@ -241,7 +241,7 @@ var Hoc = React.createClass({
</p>
</div>
<FlexRow>
<FlexRow className="mod-studio">
<div className="hoc-section-studio">
<img className="hoc-section-studio-img"
src="/svgs/studio.svg"
@ -255,22 +255,6 @@ var Hoc = React.createClass({
</div>
</div>
<div className="hoc-section-studio">
<img className="hoc-section-studio-img"
src="/svgs/studio.svg"
alt="" />
<div className="hoc-section-studio-info">
<a href="/studios/1672166/">
<h5 className="hoc-section-studio-info-header">
<FormattedMessage id='hoc.studioWeBareBears' />
</h5>
</a>
</div>
</div>
</FlexRow>
<FlexRow>
<div className="hoc-section-studio">
<img className="hoc-section-studio-img"
src="/svgs/studio.svg"
@ -289,9 +273,9 @@ var Hoc = React.createClass({
src="/svgs/studio.svg"
alt="" />
<div className="hoc-section-studio-info">
<a href="/studios/1672164/">
<a href="/studios/2050750/">
<h5 className="hoc-section-studio-info-header">
<FormattedMessage id='hoc.studioAlice' />
<FormattedMessage id='hoc.tipsMakeItFlyTitle' />
</h5>
</a>
</div>

View file

@ -126,8 +126,11 @@ $base-bg: $ui-white;
line-height: inherit;
}
.flex-row.mod-studio {
justify-content: space-between;
}
.hoc-section-studio {
width: 50%;
align-items: center;
}
@ -137,7 +140,7 @@ $base-bg: $ui-white;
.hoc-section-studio-info-header {
margin: 8px 0;
width: 200px;
width: 150px;
color: $ui-blue;
font-weight: 500;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB