Added page title for VPN panel detail pages

In VPN panels detail pages are not having the page titles.

This patch added the missing page titles and corrected the wrong page titles.

Change-Id: Ia7d3077b4bd93d4d4315c602aa7bb4e2fc0bb0c3
Closes-bug: #1455026
This commit is contained in:
Masco Kaliyamoorthy 2015-05-14 16:12:05 +05:30
parent e3b220baa0
commit 1324ca193f

View File

@ -125,7 +125,7 @@ class AddIPSecPolicyView(workflows.WorkflowView):
class IKEPolicyDetailsView(tabs.TabView):
tab_group_class = vpn_tabs.IKEPolicyDetailsTabs
template_name = 'project/vpn/details_tabs.html'
page_title = _("Virtual Private Network")
page_title = _("IKE Policy Details")
@memoized.memoized_method
def get_data(self):
@ -158,6 +158,7 @@ class IKEPolicyDetailsView(tabs.TabView):
class IPSecPolicyDetailsView(tabs.TabView):
tab_group_class = vpn_tabs.IPSecPolicyDetailsTabs
template_name = 'project/vpn/details_tabs.html'
page_title = _("IPSec Policy Details")
@memoized.memoized_method
def get_data(self):
@ -191,6 +192,7 @@ class IPSecPolicyDetailsView(tabs.TabView):
class VPNServiceDetailsView(tabs.TabView):
tab_group_class = vpn_tabs.VPNServiceDetailsTabs
template_name = 'project/vpn/details_tabs.html'
page_title = _("VPN Service Details")
@memoized.memoized_method
def get_data(self):
@ -233,6 +235,7 @@ class VPNServiceDetailsView(tabs.TabView):
class IPSecSiteConnectionDetailsView(tabs.TabView):
tab_group_class = vpn_tabs.IPSecSiteConnectionDetailsTabs
template_name = 'project/vpn/details_tabs.html'
page_title = _("IPSec Site Connection Details")
@memoized.memoized_method
def get_data(self):