mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Fix whitelabel styling
This commit is contained in:
parent
9a17e44df1
commit
b95906d83e
@ -166,7 +166,7 @@ let SlidesContainer = React.createClass({
|
||||
});
|
||||
|
||||
} else {
|
||||
throw new Error('You\'re calling a page number that is out of range.');
|
||||
throw new Error('You\'re calling a page number that is out of range: ' + slideNum);
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -37,7 +37,7 @@ let CylandPieceList = React.createClass({
|
||||
return (
|
||||
<div>
|
||||
<PieceList
|
||||
redirectTo="/register_piece"
|
||||
redirectTo="/register_piece?slide_num=0"
|
||||
accordionListItemType={CylandAccordionListItem}
|
||||
filterParams={[{
|
||||
label: getLangText('Show works I have'),
|
||||
|
@ -37,7 +37,7 @@ let IkonotvPieceList = React.createClass({
|
||||
return (
|
||||
<div>
|
||||
<PieceList
|
||||
redirectTo="/register_piece"
|
||||
redirectTo="/register_piece?slide_num=0"
|
||||
accordionListItemType={IkonotvAccordionListItem}
|
||||
filterParams={[{
|
||||
label: getLangText('Show works I have'),
|
||||
|
@ -29,7 +29,9 @@ let WalletApp = React.createClass({
|
||||
let [, { path } ] = this.props.routes;
|
||||
|
||||
let header = null;
|
||||
if ((this.props.history.isActive('/') || this.props.history.isActive('/login') || this.props.history.isActive('/signup') || this.props.history.isActive('/contract_notifications'))
|
||||
|
||||
// if the path of the current activeRoute is not defined, then this is the IndexRoute
|
||||
if ((!path || this.props.history.isActive('/login') || this.props.history.isActive('/signup') || this.props.history.isActive('/contract_notifications'))
|
||||
&& (['ikonotv', 'cyland']).indexOf(subdomain) > -1) {
|
||||
header = (<div className="hero"/>);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user