mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +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>
|
aria-hidden="true"></span>
|
||||||
</button>
|
</button>
|
||||||
</AclProxy>
|
</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>
|
</div>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
@ -75,6 +75,16 @@ let IkonotvAccordionListItem = React.createClass({
|
|||||||
aclName="acl_submitted">
|
aclName="acl_submitted">
|
||||||
<button
|
<button
|
||||||
disabled
|
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">
|
className="btn btn-default btn-xs pull-right">
|
||||||
{getLangText('Loaned to IkonoTV')} <span className="glyphicon glyphicon-ok"
|
{getLangText('Loaned to IkonoTV')} <span className="glyphicon glyphicon-ok"
|
||||||
aria-hidden="true"></span>
|
aria-hidden="true"></span>
|
||||||
|
@ -37,10 +37,16 @@ let IkonotvPieceList = React.createClass({
|
|||||||
accordionListItemType={IkonotvAccordionListItem}
|
accordionListItemType={IkonotvAccordionListItem}
|
||||||
filterParams={[{
|
filterParams={[{
|
||||||
label: getLangText('Show works I have'),
|
label: getLangText('Show works I have'),
|
||||||
items: [{
|
items: [
|
||||||
key: 'acl_loaned',
|
{
|
||||||
label: getLangText('loaned to IkonoTV')
|
key: 'submitted',
|
||||||
}]
|
label: getLangText('submitted')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'accepted',
|
||||||
|
label: getLangText('loaned')
|
||||||
|
}
|
||||||
|
]
|
||||||
}]}/>
|
}]}/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user