commit 7a58d15aec5f2327fb7df9c9cffd2f06a019d837
Author: Rob Cresswell <email address hidden>
Date: Wed Aug 12 19:47:59 2015 +0100
Navigation + cleanup for details pages
Adds a common detail page and a breadcrumb templatetag. The breadcrumb
templatetag defaults to displaying the panel name and the existing page
title, which is usually name_or_id. The templatetag can also access the
context, and accepts a "custom_breadcrumb", for complex nested pages or
customised layouts.
This type of navigation is also useful for small devices (mobile/
tablet), providing logical direction that isn't dependant on the
sidebar being displayed.
Currently implemented in Images, Volumes (simple breadcrumb), Ports and
Subnets (more complex nesting).
This approach has been chosen as manipulation of the URLs was seen as
undesirable, making request.path too unreliable. Furthermore, the
templatetag seperation means this could easily be used in other views.
Reviewed: https:/ /review. openstack. org/212152 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=7a58d15aec5 f2327fb7df9c9cf fd2f06a019d837
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7a58d15aec5f232 7fb7df9c9cffd2f 06a019d837
Author: Rob Cresswell <email address hidden>
Date: Wed Aug 12 19:47:59 2015 +0100
Navigation + cleanup for details pages
Adds a common detail page and a breadcrumb templatetag. The breadcrumb breadcrumb" , for complex nested pages or
templatetag defaults to displaying the panel name and the existing page
title, which is usually name_or_id. The templatetag can also access the
context, and accepts a "custom_
customised layouts.
This type of navigation is also useful for small devices (mobile/
tablet), providing logical direction that isn't dependant on the
sidebar being displayed.
Currently implemented in Images, Volumes (simple breadcrumb), Ports and
Subnets (more complex nesting).
This approach has been chosen as manipulation of the URLs was seen as
undesirable, making request.path too unreliable. Furthermore, the
templatetag seperation means this could easily be used in other views.
NOTE: The network details page itself will be updated following the /bugs.launchpad .net/horizon/ +bug/1416838
resolution of https:/
Change-Id: I7443b2ffa61560 e5d1fd4d6d91b11 201f1db6fac
Partial-Bug: 1413823