1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 09:50:31 +01:00

rename prize_name to prize

This commit is contained in:
Tim Daubenschütz 2015-07-15 00:16:43 +02:00
parent 6385349846
commit e65f052ffe

View File

@ -154,14 +154,14 @@ let AccordionListItem = React.createClass({
toggleCreateEditionsDialog={this.toggleCreateEditionsDialog} toggleCreateEditionsDialog={this.toggleCreateEditionsDialog}
onPollingSuccess={this.onPollingSuccess}/> onPollingSuccess={this.onPollingSuccess}/>
<AclProxy <AclProxy
show={this.props.content.prize_name === null}> show={this.props.content.prize === null}>
<SubmitToPrizeButton <SubmitToPrizeButton
className="pull-right" className="pull-right"
piece={this.props.content} piece={this.props.content}
handleSuccess={this.handleSubmitPrizeSuccess}/> handleSuccess={this.handleSubmitPrizeSuccess}/>
</AclProxy> </AclProxy>
<AclProxy <AclProxy
show={this.props.content.prize_name}> show={this.props.content.prize}>
<button <button
disabled disabled
className="btn btn-default btn-xs pull-right"> className="btn btn-default btn-xs pull-right">