1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Add number of editions on button

This commit is contained in:
vrde 2015-05-26 14:43:04 +02:00
parent efe1e44c9d
commit bd270f1e8c

View File

@ -111,8 +111,8 @@ let TableItemSubtable = React.createClass({
<div className="row"> <div className="row">
{calcColumnElementContent()} {calcColumnElementContent()}
<div className="col-xs-2 col-sm-2 col-md-2 col-lg-2 ascribe-table-item-column"> <div className="col-xs-2 col-sm-2 col-md-2 col-lg-2 ascribe-table-item-column">
<TableItemSubtableButton content="Editions" onClick={this.loadEditionList}> <TableItemSubtableButton content={this.props.columnContent['num_editions'] + ' Editions'}
</TableItemSubtableButton> onClick={this.loadEditionList} />
</div> </div>
</div> </div>
{renderEditionListTable()} {renderEditionListTable()}
@ -121,4 +121,4 @@ let TableItemSubtable = React.createClass({
} }
}); });
export default TableItemSubtable; export default TableItemSubtable;