1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-29 00:58:03 +02:00

remove border from piece list item

This commit is contained in:
Tim Daubenschütz 2015-07-09 16:09:53 +02:00
parent 773d42a3b8
commit c538cd757e
2 changed files with 41 additions and 49 deletions

View File

@ -21,7 +21,6 @@ let AccordionListItemTable = React.createClass({
},
render() {
if(this.props.show && this.props.itemList) {
return (
<Table
responsive
@ -42,13 +41,6 @@ let AccordionListItemTable = React.createClass({
})}
</Table>
);
} else {
return (
<div className={this.props.className}>
{this.props.children}
</div>
);
}
}
});

View File

@ -179,12 +179,9 @@ let AccordionListItemTableEditions = React.createClass({
let loadingSpinner = <span className="glyph-ascribe-spool-chunked ascribe-color spin"/>;
if(show && editionsForPiece && editionsForPiece.length > 0) {
return (
<div className={this.props.className}>
{/* <AccordionListItemTableToggle
className="ascribe-accordion-list-table-toggle"
onClick={this.toggleTable}
message={show && typeof editionsForPiece !== 'undefined' ? <span><span className="glyphicon glyphicon-menu-up" aria-hidden="true" style={{top: 2}}></span> {getLangText('Hide editions')}</span> : <span><span className="glyphicon glyphicon-menu-down" aria-hidden="true" style={{top: 2}}></span> {getLangText('Show editions')} {show && typeof editionsForPiece === 'undefined' ? loadingSpinner : null}</span>} /> */}
<AccordionListItemTable
parentId={this.props.parentId}
itemList={editionsForPiece}
@ -200,6 +197,9 @@ let AccordionListItemTableEditions = React.createClass({
message={show && showExpandOption ? <span><span className="glyphicon glyphicon-option-horizontal" aria-hidden="true" style={{top: 3}}></span> Show me more {this.state.showMoreLoading ? loadingSpinner : null}</span> : ''} />
</div>
);
} else {
return null;
}
}
});