mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
ikonotv acl_submitted + refactor
This commit is contained in:
parent
680cc8572f
commit
1b730573c7
@ -64,14 +64,26 @@ let IkonotvAccordionListItem = React.createClass({
|
|||||||
|
|
||||||
getSubmitButtons() {
|
getSubmitButtons() {
|
||||||
return (
|
return (
|
||||||
<AclProxy
|
<div>
|
||||||
aclObject={this.props.content.acl}
|
<AclProxy
|
||||||
aclName="acl_submit">
|
aclObject={this.props.content.acl}
|
||||||
<IkonotvSubmitButton
|
aclName="acl_submit">
|
||||||
className="btn-xs pull-right"
|
<IkonotvSubmitButton
|
||||||
handleSuccess={this.handleSubmitSuccess}
|
className="btn-xs pull-right"
|
||||||
piece={this.props.content}/>
|
handleSuccess={this.handleSubmitSuccess}
|
||||||
</AclProxy>
|
piece={this.props.content}/>
|
||||||
|
</AclProxy>
|
||||||
|
<AclProxy
|
||||||
|
aclObject={this.props.content.acl}
|
||||||
|
aclName="acl_submitted">
|
||||||
|
<button
|
||||||
|
disabled
|
||||||
|
className="btn btn-default btn-xs pull-right">
|
||||||
|
{getLangText('Submitted to IkonoTV')} <span className="glyphicon glyphicon-ok"
|
||||||
|
aria-hidden="true"></span>
|
||||||
|
</button>
|
||||||
|
</AclProxy>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user