Rename panel to Admin Tasks

* This is mainly to match other places such as the cli tool
  where we will refer to these as 'admin tasks' to differentiate
  from Mistral tasks.

Change-Id: I23b65e82d640d6a26e3b44a1d5bcce7e49321071
This commit is contained in:
adrian-turjak 2017-05-24 20:49:17 +12:00
parent 3321bf3fb4
commit 490a16c08b
3 changed files with 3 additions and 3 deletions

View File

@ -18,6 +18,6 @@ import horizon
class TaskList(horizon.Panel):
name = _('Tasks')
name = _('Admin Tasks')
slug = 'tasks'
policy_rules = (("identity", "role:admin"),)

View File

@ -1,6 +1,6 @@
{% extends 'base.html' %}
{% load i18n %}
{% block title %}{% trans "Tasks" %}{% endblock %}
{% block title %}{% trans "Admin Tasks" %}{% endblock %}
{% block main %}
<div class="row">

View File

@ -33,7 +33,7 @@ class IndexView(tabs.TabbedTableView):
tab_group_class = task_tabs.TaskTabs
template_name = 'management/tasks/index.html'
redirect_url = 'horizon:management:tasks:index'
page_title = _("Tasks")
page_title = _("Admin Tasks")
class TaskDetailView(tabs.TabView):