Adds PanelGroup class and site customization hook.

* Adds a PanelGroup class and slightly reworks the way panel
    ordering is handled to fix bug 963550.

  * Adds the option to load a python module containing
    site customizations after the site is fully initialized,
    but before the URLConf is dynamically constructed.
    Fixes bug 965839.

Change-Id: Idc5358f2db6751494bcdfc382ec3bb6af65199b9
This commit is contained in:
Gabriel Hurley
2012-03-26 18:08:48 -07:00
parent a5d5b4f288
commit ac71246802
9 changed files with 206 additions and 56 deletions

View File

@@ -3,7 +3,7 @@
{% for heading, panels in components.iteritems %}
{% with panels|can_haz_list:user as filtered_panels %}
{% if filtered_panels %}
<h4>{{ heading }}</h4>
{% if heading %}<h4>{{ heading }}</h4>{% endif %}
<ul class="main_nav">
{% for panel in filtered_panels %}
<li>