mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +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() {
|
||||
return (
|
||||
<div>
|
||||
<EditionContainer
|
||||
params={this.props.params}
|
||||
actionPanelButtonListType={LumenusAclButtonList}
|
||||
furtherDetailsType={LumenusFurtherDetails}
|
||||
location={this.props.location} />
|
||||
</div>
|
||||
<EditionContainer
|
||||
params={this.props.params}
|
||||
actionPanelButtonListType={LumenusAclButtonList}
|
||||
furtherDetailsType={LumenusFurtherDetails}
|
||||
location={this.props.location} />
|
||||
);
|
||||
}
|
||||
});
|
||||
|
@ -14,12 +14,10 @@ let LumenusPieceContainer = React.createClass({
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
<PieceContainer
|
||||
params={this.props.params}
|
||||
furtherDetailsType={LumenusFurtherDetails}
|
||||
location={this.props.location} />
|
||||
</div>
|
||||
<PieceContainer
|
||||
params={this.props.params}
|
||||
furtherDetailsType={LumenusFurtherDetails}
|
||||
location={this.props.location} />
|
||||
);
|
||||
}
|
||||
});
|
||||
|
@ -18,19 +18,17 @@ let LumenusPieceList = React.createClass({
|
||||
setDocumentTitle(getLangText('Collection'));
|
||||
|
||||
return (
|
||||
<div>
|
||||
<PieceList
|
||||
redirectTo="/register_piece?slide_num=0"
|
||||
bulkModalButtonListType={LumenusAclButtonList}
|
||||
filterParams={[{
|
||||
label: getLangText('Show works I have'),
|
||||
items: [{
|
||||
key: 'acl_consigned',
|
||||
label: getLangText('consigned to Lumenus')
|
||||
}]
|
||||
}]}
|
||||
location={this.props.location}/>
|
||||
</div>
|
||||
<PieceList
|
||||
redirectTo="/register_piece?slide_num=0"
|
||||
bulkModalButtonListType={LumenusAclButtonList}
|
||||
filterParams={[{
|
||||
label: getLangText('Show works I have'),
|
||||
items: [{
|
||||
key: 'acl_consigned',
|
||||
label: getLangText('consigned to Lumenus')
|
||||
}]
|
||||
}]}
|
||||
location={this.props.location}/>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user