Set reasonable name to browser title bar
Currently, when using anuglar table, the name of title bar on browser is always "Horizon - OpenStack Dashboard". It's not good at point of view of usability. This patch fix it. Change-Id: I3e6e69f26d5d967bf402f8f5bc9f12d92c2edb87 Closes-Bug: #1647855
This commit is contained in:
parent
3841fe0cd8
commit
344aac09ae
@ -11,8 +11,10 @@
|
||||
# under the License.
|
||||
|
||||
from django.conf.urls import url
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from horizon.browsers import views
|
||||
|
||||
title = _("Containers")
|
||||
urlpatterns = [
|
||||
url('', views.AngularIndexView.as_view(), name='index'),
|
||||
url('', views.AngularIndexView.as_view(title=title), name='index'),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user