1
0
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:
diminator 2015-09-22 13:14:28 +02:00
commit 54a1049b48
3 changed files with 31 additions and 5 deletions

View File

@ -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>
);
},

View File

@ -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>

View File

@ -37,10 +37,16 @@ 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>
);