Merge "Add page title for some panel table"
This commit is contained in:
commit
1292a016e0
@ -35,6 +35,7 @@ LOG = logging.getLogger(__name__)
|
||||
class IndexView(horizon.tables.DataTableView):
|
||||
table_class = tables.ActionPlansTable
|
||||
template_name = 'infra_optim/action_plans/index.html'
|
||||
page_title = _("Action Plans")
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(IndexView, self).get_context_data(**kwargs)
|
||||
|
@ -34,6 +34,7 @@ LOG = logging.getLogger(__name__)
|
||||
class IndexView(horizon.tables.DataTableView):
|
||||
table_class = tables.ActionsTable
|
||||
template_name = 'infra_optim/actions/index.html'
|
||||
page_title = _("Actions")
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(IndexView, self).get_context_data(**kwargs)
|
||||
|
@ -38,6 +38,7 @@ LOG = logging.getLogger(__name__)
|
||||
class IndexView(horizon.tables.DataTableView):
|
||||
table_class = tables.AuditsTable
|
||||
template_name = 'infra_optim/audits/index.html'
|
||||
page_title = _("Audits")
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(IndexView, self).get_context_data(**kwargs)
|
||||
|
@ -34,6 +34,7 @@ LOG = logging.getLogger(__name__)
|
||||
class IndexView(horizon.tables.DataTableView):
|
||||
table_class = tables.GoalsTable
|
||||
template_name = 'infra_optim/goals/index.html'
|
||||
page_title = _("Goals")
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(IndexView, self).get_context_data(**kwargs)
|
||||
|
@ -33,6 +33,7 @@ LOG = logging.getLogger(__name__)
|
||||
class IndexView(horizon.tables.DataTableView):
|
||||
table_class = tables.StrategiesTable
|
||||
template_name = 'infra_optim/strategies/index.html'
|
||||
page_title = _("Strategies")
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(IndexView, self).get_context_data(**kwargs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user