mirror of
https://github.com/ascribe/onion.git
synced 2024-06-30 13:41:57 +02:00
Merge branch 'AD-613-cyland-white-label-page' of bitbucket.org:ascribe/onion into AD-613-cyland-white-label-page
This commit is contained in:
commit
5acce27df2
|
@ -28,7 +28,6 @@ let LoanForm = React.createClass({
|
|||
startdate: React.PropTypes.object,
|
||||
enddate: React.PropTypes.object,
|
||||
showPersonalMessage: React.PropTypes.bool,
|
||||
|
||||
url: React.PropTypes.string,
|
||||
id: React.PropTypes.object,
|
||||
message: React.PropTypes.string,
|
||||
|
@ -193,7 +192,6 @@ let LoanForm = React.createClass({
|
|||
placeholder={getLangText('Enter a message...')}
|
||||
required="required"/>
|
||||
</Property>
|
||||
|
||||
<Property
|
||||
name='password'
|
||||
label={getLangText('Password')}>
|
||||
|
@ -203,6 +201,7 @@ let LoanForm = React.createClass({
|
|||
required/>
|
||||
</Property>
|
||||
{this.getContractCheckbox()}
|
||||
{this.props.children}
|
||||
</Form>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -161,7 +161,7 @@ let CylandRegisterPiece = React.createClass({
|
|||
let today = new Moment();
|
||||
let datetimeWhenWeAllWillBeFlyingCoolHoverboardsAndDinosaursWillLiveAgain = new Moment();
|
||||
datetimeWhenWeAllWillBeFlyingCoolHoverboardsAndDinosaursWillLiveAgain.add(1000, 'years');
|
||||
|
||||
console.log(this.state.piece.id)
|
||||
return (
|
||||
<SlidesContainer
|
||||
ref="slidesContainer"
|
||||
|
@ -180,21 +180,7 @@ let CylandRegisterPiece = React.createClass({
|
|||
submitMessage={getLangText('Submit')}
|
||||
isFineUploaderActive={this.state.isFineUploaderActive}
|
||||
handleSuccess={this.handleRegisterSuccess}
|
||||
onLoggedOut={this.onLoggedOut}>
|
||||
<Property
|
||||
name="terms"
|
||||
className="ascribe-settings-property-collapsible-toggle"
|
||||
style={{paddingBottom: 0}}>
|
||||
<InputCheckbox>
|
||||
<span>
|
||||
{' ' + getLangText('I agree to the Terms of Service of Cyland Archive') + ' '}
|
||||
(<a href="https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/cyland/terms_and_contract.pdf" target="_blank" style={{fontSize: '0.9em', color: 'rgba(0,0,0,0.7)'}}>
|
||||
{getLangText('read')}
|
||||
</a>)
|
||||
</span>
|
||||
</InputCheckbox>
|
||||
</Property>
|
||||
</RegisterPieceForm>
|
||||
onLoggedOut={this.onLoggedOut} />
|
||||
</Col>
|
||||
</Row>
|
||||
</div>
|
||||
|
@ -221,7 +207,21 @@ let CylandRegisterPiece = React.createClass({
|
|||
startdate={today}
|
||||
enddate={datetimeWhenWeAllWillBeFlyingCoolHoverboardsAndDinosaursWillLiveAgain}
|
||||
showPersonalMessage={false}
|
||||
handleSuccess={this.handleLoanSuccess}/>
|
||||
handleSuccess={this.handleLoanSuccess}>
|
||||
<Property
|
||||
name="terms"
|
||||
className="ascribe-settings-property-collapsible-toggle"
|
||||
style={{paddingBottom: 0}}>
|
||||
<InputCheckbox>
|
||||
<span>
|
||||
{' ' + getLangText('I agree to the Terms of Service of Cyland Archive') + ' '}
|
||||
(<a href="https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/cyland/terms_and_contract.pdf" target="_blank" style={{fontSize: '0.9em', color: 'rgba(0,0,0,0.7)'}}>
|
||||
{getLangText('read')}
|
||||
</a>)
|
||||
</span>
|
||||
</InputCheckbox>
|
||||
</Property>
|
||||
</LoanForm>
|
||||
</Col>
|
||||
</Row>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user