From 1b73cff4ddebc7825672e5c80a995bdeb852c6e8 Mon Sep 17 00:00:00 2001 From: Gal Margalit Date: Tue, 15 Nov 2016 09:59:05 +0000 Subject: [PATCH] mistral-dashboard: entities name change for system consistency * refactored names: task executions, workflow executions * Screenshots: https://s17.postimg.org/l2xp52p3j/image.png Change-Id: Ia11956e222390cf410abbb82d68adcc2d59c5855 --- mistraldashboard/executions/panel.py | 2 +- mistraldashboard/executions/templates/executions/index.html | 4 ++-- mistraldashboard/tasks/panel.py | 2 +- mistraldashboard/tasks/templates/tasks/index.html | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mistraldashboard/executions/panel.py b/mistraldashboard/executions/panel.py index 35534a5..4a5d519 100644 --- a/mistraldashboard/executions/panel.py +++ b/mistraldashboard/executions/panel.py @@ -21,7 +21,7 @@ from mistraldashboard import dashboard class Executions(horizon.Panel): - name = _("Executions") + name = _("Workflow Executions") slug = 'executions' diff --git a/mistraldashboard/executions/templates/executions/index.html b/mistraldashboard/executions/templates/executions/index.html index 1fa7452..0495391 100644 --- a/mistraldashboard/executions/templates/executions/index.html +++ b/mistraldashboard/executions/templates/executions/index.html @@ -1,7 +1,7 @@ {% extends 'mistral/default/table.html' %} {% load i18n %} -{% block title %}{% trans "Executions" %}{% endblock %} +{% block title %}{% trans "Workflow Executions" %}{% endblock %} {% block page_header %} - {% include "horizon/common/_page_header.html" with title=_("Executions") %} + {% include "horizon/common/_page_header.html" with title=_("Workflow Executions") %} {% endblock page_header %} diff --git a/mistraldashboard/tasks/panel.py b/mistraldashboard/tasks/panel.py index 3ce69ef..afbc4f3 100644 --- a/mistraldashboard/tasks/panel.py +++ b/mistraldashboard/tasks/panel.py @@ -21,7 +21,7 @@ from mistraldashboard import dashboard class Tasks(horizon.Panel): - name = _("Tasks") + name = _("Task Executions") slug = 'tasks' diff --git a/mistraldashboard/tasks/templates/tasks/index.html b/mistraldashboard/tasks/templates/tasks/index.html index e7f428c..f4d40ad 100644 --- a/mistraldashboard/tasks/templates/tasks/index.html +++ b/mistraldashboard/tasks/templates/tasks/index.html @@ -1,9 +1,9 @@ {% extends 'mistral/default/table.html' %} {% load i18n %} {% block title %} - {% trans "Tasks" %} + {% trans "Task Executions" %} {% endblock %} {% block page_header %} - {% include "horizon/common/_page_header.html" with title=_("Tasks") %} + {% include "horizon/common/_page_header.html" with title=_("Task Executions") %} {% endblock page_header %}