Horizon main nav template very hard to customize

Bug #948508 reported by Gabriel Hurley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Gabriel Hurley

Bug Description

The main nav for horizon is generated across the _sidebar.html and _nav.html templates, and if you want to do anything to customize the behavior of the presentation of the nav you probably want to know which dashboards are available, but that information is only available to the context in _nav.html. This is strange and unhelpful behavior. We should move the entire main nav generation inside the _nav.html template.

Changed in horizon:
assignee: nobody → Gabriel Hurley (gabriel-hurley)
importance: Undecided → Low
milestone: none → essex-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/5006

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/5006
Committed: http://github.com/openstack/horizon/commit/a32f67967e4b1657fc35d9306ff342930719110d
Submitter: Jenkins
Branch: master

commit a32f67967e4b1657fc35d9306ff342930719110d
Author: Gabriel Hurley <email address hidden>
Date: Tue Mar 6 17:43:15 2012 -0800

    Minor extensibility improvements.

      * Allow exceptions.handle to include user-defined exception types.
        Fixes bug 948536.
      * Adds a wrapper around the form/table header/table in the base
        _data_table.html template for easier targeting/styling.
      * Moves the rest of the main nav templating into a single template
        for easier customization. Fixes bug 948508.

    Change-Id: I045c29744ee01f60b080f2c1bbdc79ea5acf1b86

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.