Merge "Fix ValueError in services details page"
This commit is contained in:
commit
13a1410220
|
@ -134,7 +134,7 @@ class DetailServiceView(tabs.TabbedTableView):
|
|||
(context["environment_name"],
|
||||
reverse("horizon:app-catalog:environments:services",
|
||||
args=[self.environment_id])),
|
||||
(_('Applications'),), ]
|
||||
(_('Applications'), None)]
|
||||
context["custom_breadcrumb"] = breadcrumb
|
||||
return context
|
||||
|
||||
|
|
|
@ -204,7 +204,7 @@ class TestDetailServiceView(testtools.TestCase):
|
|||
'environment_name': 'foo_env_name',
|
||||
'custom_breadcrumb': [
|
||||
('foo_env_name', 'foo_reverse_url'),
|
||||
(_('Applications'),),
|
||||
(_('Applications'), None)
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue