mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Update CC routes for loading user and whitelabel settings in top level app
This commit is contained in:
parent
3e66b78d4c
commit
723f93e629
@ -13,6 +13,11 @@ import { mergeOptions } from '../../../../../utils/general_utils';
|
||||
|
||||
let CCRegisterPiece = React.createClass({
|
||||
propTypes: {
|
||||
// Provided from AscribeApp
|
||||
currentUser: React.PropTypes.object,
|
||||
whitelabel: React.PropTypes.object,
|
||||
|
||||
// Provided from router
|
||||
location: React.PropTypes.object
|
||||
},
|
||||
|
||||
@ -85,6 +90,7 @@ let CCRegisterPiece = React.createClass({
|
||||
setDocumentTitle(getLangText('Register a new piece'));
|
||||
return (
|
||||
<RegisterPiece
|
||||
{...this.props}
|
||||
enableLocalHashing={false}
|
||||
headerMessage={getLangText('Register under a Creative Commons license')}
|
||||
submitMessage={getLangText('Submit')}
|
||||
|
Loading…
Reference in New Issue
Block a user