Merge "Fix ValueError in services details page"

This commit is contained in:
Jenkins 2017-07-11 10:50:47 +00:00 committed by Gerrit Code Review
commit 13a1410220
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -204,7 +204,7 @@ class TestDetailServiceView(testtools.TestCase):
'environment_name': 'foo_env_name',
'custom_breadcrumb': [
('foo_env_name', 'foo_reverse_url'),
(_('Applications'),),
(_('Applications'), None)
]
}