1
0
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:
diminator 2015-08-28 13:58:24 +02:00
parent 680cc8572f
commit 1b730573c7

View File

@ -64,6 +64,7 @@ let IkonotvAccordionListItem = React.createClass({
getSubmitButtons() { getSubmitButtons() {
return ( return (
<div>
<AclProxy <AclProxy
aclObject={this.props.content.acl} aclObject={this.props.content.acl}
aclName="acl_submit"> aclName="acl_submit">
@ -72,6 +73,17 @@ let IkonotvAccordionListItem = React.createClass({
handleSuccess={this.handleSubmitSuccess} handleSuccess={this.handleSubmitSuccess}
piece={this.props.content}/> piece={this.props.content}/>
</AclProxy> </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>
); );
}, },