diff --git a/magnum_ui/content/cluster_templates/urls.py b/magnum_ui/content/cluster_templates/urls.py index 433e834e..389d1fc9 100644 --- a/magnum_ui/content/cluster_templates/urls.py +++ b/magnum_ui/content/cluster_templates/urls.py @@ -13,10 +13,13 @@ # under the License. from django.conf.urls import url +from django.utils.translation import ugettext_lazy as _ from horizon.browsers import views +title = _("Container Infra - Cluster Templates") urlpatterns = [ - url(r'^[0-9a-f\-]{36}$', views.AngularIndexView.as_view(), name='detail'), - url(r'^$', views.AngularIndexView.as_view(), name='index'), + url(r'^[0-9a-f\-]{36}$', views.AngularIndexView.as_view(title=title), + name='detail'), + url(r'^$', views.AngularIndexView.as_view(title=title), name='index'), ] diff --git a/magnum_ui/content/clusters/urls.py b/magnum_ui/content/clusters/urls.py index 433e834e..b48178d0 100644 --- a/magnum_ui/content/clusters/urls.py +++ b/magnum_ui/content/clusters/urls.py @@ -13,10 +13,13 @@ # under the License. from django.conf.urls import url +from django.utils.translation import ugettext_lazy as _ from horizon.browsers import views +title = _("Container Infra - Clusters") urlpatterns = [ - url(r'^[0-9a-f\-]{36}$', views.AngularIndexView.as_view(), name='detail'), - url(r'^$', views.AngularIndexView.as_view(), name='index'), + url(r'^[0-9a-f\-]{36}$', views.AngularIndexView.as_view(title=title), + name='detail'), + url(r'^$', views.AngularIndexView.as_view(title=title), name='index'), ]