1
0
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:
Brett Sun 2015-11-03 12:10:43 +01:00
parent 54212627bb
commit 3929712e9d
3 changed files with 20 additions and 26 deletions

View File

@ -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} />
);
}
});

View File

@ -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} />
);
}
});

View File

@ -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}/>
);
}
});