Using horizon's templateview instead of generic one from django
By using Horizon's templateview which adds PageTitleMixin, the dashboard will display the page title properly when one browses to LoadBalancer panel. Change-Id: Ic79dbf8600bb013d2b76b1193b739ce7ecf0de78 Closes-Bug: #1644061
This commit is contained in:
parent
599ee74977
commit
661cabf752
@ -12,8 +12,9 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from django.views import generic
|
||||
from horizon.views import HorizonTemplateView
|
||||
|
||||
|
||||
class IndexView(generic.TemplateView):
|
||||
class IndexView(HorizonTemplateView):
|
||||
template_name = 'project/ngloadbalancersv2/index.html'
|
||||
page_title = 'Load Balancers'
|
||||
|
Loading…
x
Reference in New Issue
Block a user