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

ikonotv acl_submitted + refactor

This commit is contained in:
diminator 2015-08-28 13:58:24 +02:00
parent 680cc8572f
commit 1b730573c7

View File

@ -64,14 +64,26 @@ let IkonotvAccordionListItem = React.createClass({
getSubmitButtons() {
return (
<AclProxy
aclObject={this.props.content.acl}
aclName="acl_submit">
<IkonotvSubmitButton
className="btn-xs pull-right"
handleSuccess={this.handleSubmitSuccess}
piece={this.props.content}/>
</AclProxy>
<div>
<AclProxy
aclObject={this.props.content.acl}
aclName="acl_submit">
<IkonotvSubmitButton
className="btn-xs pull-right"
handleSuccess={this.handleSubmitSuccess}
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>
);
},