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:
parent
680cc8572f
commit
1b730573c7
@ -64,6 +64,7 @@ let IkonotvAccordionListItem = React.createClass({
|
||||
|
||||
getSubmitButtons() {
|
||||
return (
|
||||
<div>
|
||||
<AclProxy
|
||||
aclObject={this.props.content.acl}
|
||||
aclName="acl_submit">
|
||||
@ -72,6 +73,17 @@ let IkonotvAccordionListItem = React.createClass({
|
||||
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>
|
||||
);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user