mirror of
https://github.com/ascribe/onion.git
synced 2025-02-01 20:39:57 +01:00
Prune unnecessary divs from some components
This commit is contained in:
parent
54212627bb
commit
3929712e9d
@ -16,13 +16,11 @@ let LumenusEditionContainer = React.createClass({
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<EditionContainer
|
||||||
<EditionContainer
|
params={this.props.params}
|
||||||
params={this.props.params}
|
actionPanelButtonListType={LumenusAclButtonList}
|
||||||
actionPanelButtonListType={LumenusAclButtonList}
|
furtherDetailsType={LumenusFurtherDetails}
|
||||||
furtherDetailsType={LumenusFurtherDetails}
|
location={this.props.location} />
|
||||||
location={this.props.location} />
|
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -14,12 +14,10 @@ let LumenusPieceContainer = React.createClass({
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<PieceContainer
|
||||||
<PieceContainer
|
params={this.props.params}
|
||||||
params={this.props.params}
|
furtherDetailsType={LumenusFurtherDetails}
|
||||||
furtherDetailsType={LumenusFurtherDetails}
|
location={this.props.location} />
|
||||||
location={this.props.location} />
|
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -18,19 +18,17 @@ let LumenusPieceList = React.createClass({
|
|||||||
setDocumentTitle(getLangText('Collection'));
|
setDocumentTitle(getLangText('Collection'));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<PieceList
|
||||||
<PieceList
|
redirectTo="/register_piece?slide_num=0"
|
||||||
redirectTo="/register_piece?slide_num=0"
|
bulkModalButtonListType={LumenusAclButtonList}
|
||||||
bulkModalButtonListType={LumenusAclButtonList}
|
filterParams={[{
|
||||||
filterParams={[{
|
label: getLangText('Show works I have'),
|
||||||
label: getLangText('Show works I have'),
|
items: [{
|
||||||
items: [{
|
key: 'acl_consigned',
|
||||||
key: 'acl_consigned',
|
label: getLangText('consigned to Lumenus')
|
||||||
label: getLangText('consigned to Lumenus')
|
}]
|
||||||
}]
|
}]}
|
||||||
}]}
|
location={this.props.location}/>
|
||||||
location={this.props.location}/>
|
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user