Editable Templates - Loader & template components
Review Request #2186 — Created March 4, 2011 and discarded — Latest diff uploaded
Extension template loader implemented. admin/dashboard.html broken into: - admin/dashboard.html - admin/dashboard/dashboard_manage.html - admin/dashboard/dashboard_news.html - admin/dashboard/dashboard_server_info.html for easier extension.
Manual: - created a dashboard_extension.html with no {% extends ...%} -> correctly loads the blank page in place of the dashboard - created a dashboard_extension.html with {% extends ...%} -> correctly extends the original dashboard - created a dashboard_manage_extension.html with no {% extends ...%} (both with and without the dashboard_extension.html) correctly displays all of the dashboard excluding the dashboard_manage.html - created a dashboard_manage_extension.html with {% extends ...%} (both with and without the dashboard_extension.html) correctly displays the original dashboard with the manage extension
Changes between revision 6 and 7
orig
1
2
3
4
5
6
7
8
9
docs/manual/template_extension.txt |
---|
docs/manual/admin/templates/index.txt |
---|
docs/manual/admin/templates/template-extension.txt |
---|
reviewboard/template_loader.py |
---|
reviewboard/templates/accounts/register/register_form.html |
---|
reviewboard/templates/admin/dashboard_manage.html |
---|
reviewboard/templates/admin/dashboard_news.html |
---|
reviewboard/templates/admin/dashboard_server_info.html |
---|
reviewboard/templates/diffviewer/changeindex.html |
---|
reviewboard/templates/diffviewer/changeindex_entry.html |
---|
reviewboard/templates/diffviewer/diff_file_fragment.html |
---|