mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
aclproxy for view editions
This commit is contained in:
parent
0351b6fce4
commit
e1af4c615f
@ -148,11 +148,16 @@ let AccordionListItem = React.createClass({
|
|||||||
<h3>{getLangText('by %s', this.props.content.artist_name)}</h3>
|
<h3>{getLangText('by %s', this.props.content.artist_name)}</h3>
|
||||||
<div>
|
<div>
|
||||||
<span className="pull-left">{this.props.content.date_created.split('-')[0]}</span>
|
<span className="pull-left">{this.props.content.date_created.split('-')[0]}</span>
|
||||||
<AccordionListItemEditionWidget
|
|
||||||
className="pull-right"
|
<AclProxy
|
||||||
piece={this.props.content}
|
aclObject={this.props.content.acl}
|
||||||
toggleCreateEditionsDialog={this.toggleCreateEditionsDialog}
|
aclName="acl_view_editions">
|
||||||
onPollingSuccess={this.onPollingSuccess}/>
|
<AccordionListItemEditionWidget
|
||||||
|
className="pull-right"
|
||||||
|
piece={this.props.content}
|
||||||
|
toggleCreateEditionsDialog={this.toggleCreateEditionsDialog}
|
||||||
|
onPollingSuccess={this.onPollingSuccess}/>
|
||||||
|
</AclProxy>
|
||||||
<AclProxy
|
<AclProxy
|
||||||
show={this.props.content.prize === null}>
|
show={this.props.content.prize === null}>
|
||||||
<SubmitToPrizeButton
|
<SubmitToPrizeButton
|
||||||
|
Loading…
Reference in New Issue
Block a user