Editable Templates - Loader & template components

Review Request #2186 — Created March 4, 2011 and discarded — Latest diff uploaded

Information

Review Board

Reviewers

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
reviewboard/settings.py
reviewboard/template_loader.py
reviewboard/templates/base.html
reviewboard/templates/accounts/prefs.html
reviewboard/templates/accounts/register.html
reviewboard/templates/accounts/prefs/prefs_groups.html
reviewboard/templates/accounts/prefs/prefs_users.html
reviewboard/templates/accounts/register/register_form.html
reviewboard/templates/admin/dashboard.html
reviewboard/templates/admin/dashboard_manage.html
reviewboard/templates/admin/dashboard_news.html
reviewboard/templates/admin/dashboard_server_info.html
reviewboard/templates/admin/base_site/nav_list.html
reviewboard/templates/admin/dashboard/dashboard_manage.html
reviewboard/templates/admin/dashboard/dashboard_manage_extended.html
reviewboard/templates/admin/dashboard/dashboard_news.html
reviewboard/templates/admin/dashboard/dashboard_server_info.html
reviewboard/templates/admin/index/index_sidebar.html
reviewboard/templates/base/base_header.html
reviewboard/templates/base/base_header_links.html
Loading...