mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Merged in AD-1029-add-filter-for-submitted-accepte (pull request #71)
filter for submitted and accepted on ikonotv
This commit is contained in:
commit
54a1049b48
@ -80,6 +80,16 @@ let CylandAccordionListItem = React.createClass({
|
||||
aria-hidden="true"></span>
|
||||
</button>
|
||||
</AclProxy>
|
||||
<AclProxy
|
||||
aclObject={this.props.content.acl}
|
||||
aclName="acl_accepted">
|
||||
<button
|
||||
disabled
|
||||
className="btn btn-default btn-xs pull-right">
|
||||
{getLangText('Loaned to Cyland')} <span className="glyphicon glyphicon-ok"
|
||||
aria-hidden="true"></span>
|
||||
</button>
|
||||
</AclProxy>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
@ -75,6 +75,16 @@ let IkonotvAccordionListItem = React.createClass({
|
||||
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>
|
||||
<AclProxy
|
||||
aclObject={this.props.content.acl}
|
||||
aclName="acl_accepted">
|
||||
<button
|
||||
disabled
|
||||
className="btn btn-default btn-xs pull-right">
|
||||
{getLangText('Loaned to IkonoTV')} <span className="glyphicon glyphicon-ok"
|
||||
aria-hidden="true"></span>
|
||||
|
@ -37,11 +37,17 @@ let IkonotvPieceList = React.createClass({
|
||||
accordionListItemType={IkonotvAccordionListItem}
|
||||
filterParams={[{
|
||||
label: getLangText('Show works I have'),
|
||||
items: [{
|
||||
key: 'acl_loaned',
|
||||
label: getLangText('loaned to IkonoTV')
|
||||
}]
|
||||
}]}/>
|
||||
items: [
|
||||
{
|
||||
key: 'submitted',
|
||||
label: getLangText('submitted')
|
||||
},
|
||||
{
|
||||
key: 'accepted',
|
||||
label: getLangText('loaned')
|
||||
}
|
||||
]
|
||||
}]}/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user