c1dcaacda9
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: I73c5077058d4214b20116577759ea2d5b96742cc Closes-Bug: #1647855
26 lines
973 B
Python
26 lines
973 B
Python
# Copyright 2015 Cisco Systems
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# 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(title=title),
|
|
name='detail'),
|
|
url(r'^$', views.AngularIndexView.as_view(title=title), name='index'),
|
|
]
|