Remove the extra Networks url in ports details page's breadcrumb
There are two Networks url in ports details page's breadcrumb,
This patch remove the extra one.
Change-Id: I8ce37da8f999eb18e925eecda22664490db2381a
(cherry picked from commit c6f060a12a
)
This commit is contained in:
parent
784f080a59
commit
b8b1826015
|
@ -84,7 +84,6 @@ class DetailView(project_views.DetailView):
|
||||||
network_id=port.network_id)
|
network_id=port.network_id)
|
||||||
# TODO(robcresswell) Add URL for "Ports" crumb after bug/1416838
|
# TODO(robcresswell) Add URL for "Ports" crumb after bug/1416838
|
||||||
breadcrumb = [
|
breadcrumb = [
|
||||||
(_("Networks"), self.get_redirect_url()),
|
|
||||||
((port.network_name or port.network_id), port.network_url),
|
((port.network_name or port.network_id), port.network_url),
|
||||||
(_("Ports"), None)
|
(_("Ports"), None)
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue