Add RB.Config.ResourceListItem for interfacing resources with configforms.
Review Request #6150 — Created July 28, 2014 and submitted
This moves over
RB.Config.ResourceListItemfrom RBCommons. This is a
subclass ofDjblets.Config.ListItem, and handles the work of interfacing
a ListItem with a resource object. It will be used for the upcoming API
token UI.
Unit tests pass.
Made use of this in another change.
Tool: Pyflakes Processed Files: reviewboard/staticbundles.py Ignored Files: reviewboard/static/rb/js/configForms/models/tests/resourceListItemModelTests.js reviewboard/templates/js/tests.html reviewboard/static/rb/js/configForms/models/resourceListItemModel.js reviewboard/static/rb/js/configForms/base.js Tool: PEP8 Style Checker Processed Files: reviewboard/staticbundles.py Ignored Files: reviewboard/static/rb/js/configForms/models/tests/resourceListItemModelTests.js reviewboard/templates/js/tests.html reviewboard/static/rb/js/configForms/models/resourceListItemModel.js reviewboard/static/rb/js/configForms/base.js