Move diff pagination into javascript.
Review Request #4603 — Created Sept. 20, 2013 and submitted
Move diff pagination into javascript.
The pagination selector is pretty ugly and terrible at this point, and we'll
probably redesign this later, but for now, I'd like to keep it as-is but allow
it to update dynamically so we can load different revisions. This change moves
its rendering into javascript.
Set up a few different revisions with different pagination. Checked that the
pagination selector rendered appropriately in different cases, and that the
different links went to the right pages.
-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
reviewboard/settings.py
Ignored Files:
reviewboard/templates/diffviewer/view_diff.html
reviewboard/static/rb/js/diffviewer/models/paginationModel.js
reviewboard/static/rb/js/pages/views/diffViewerPageView.js
reviewboard/static/rb/js/diffviewer/views/paginationView.js -
-
This is a review from Review Bot.
Tool: PEP8 Style Checker
Processed Files:
reviewboard/settings.py
Ignored Files:
reviewboard/templates/diffviewer/view_diff.html
reviewboard/static/rb/js/diffviewer/models/paginationModel.js
reviewboard/static/rb/js/pages/views/diffViewerPageView.js
reviewboard/static/rb/js/diffviewer/views/paginationView.js
-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
reviewboard/settings.py
Ignored Files:
reviewboard/templates/diffviewer/view_diff.html
reviewboard/static/rb/js/diffviewer/models/paginationModel.js
reviewboard/static/rb/js/pages/views/diffViewerPageView.js
reviewboard/static/rb/js/diffviewer/views/paginationView.js -