Make the "Diff Revision" label dynamically rendered in javascript.
Review Request #4555 — Created Sept. 10, 2013 and submitted — Latest diff uploaded
Make the "Diff Revision" label dynamically rendered in javascript.
In order to be able to update the displayed revision, this content needs to be
generated on the client side instead of the server.
- Viewed various revisions of a diff, including interdiffs. Saw the expected
text each time. - Checked that the "latest diff" and "See what's changed" links worked
correctly. - Ran js-tests.
- Ran jshint.
Diff Revision 4
This is not the most recent revision of the diff. The latest diff is revision 5. See what's changed.
orig
1
2
3
4
5
reviewboard/settings.py |
---|
reviewboard/static/rb/js/diffviewer/models/diffRevisionModel.js |
---|
reviewboard/static/rb/js/diffviewer/views/diffRevisionLabelView.js |
---|
reviewboard/static/rb/js/pages/views/diffViewerPageView.js |
---|
reviewboard/templates/diffviewer/view_diff.html |
---|