diff --git a/administrator/components/com_workflow/Model/StagesModel.php b/administrator/components/com_workflow/Model/StagesModel.php index f144b164ac6ec..022fcb8bd40d1 100644 --- a/administrator/components/com_workflow/Model/StagesModel.php +++ b/administrator/components/com_workflow/Model/StagesModel.php @@ -136,7 +136,8 @@ public function getListQuery() 's.ordering', 's.condition', 's.default', - 's.published' + 's.published', + 's.description' ) ); diff --git a/administrator/components/com_workflow/Model/TransitionsModel.php b/administrator/components/com_workflow/Model/TransitionsModel.php index 16791b2086aa2..5c0c951b04f8a 100644 --- a/administrator/components/com_workflow/Model/TransitionsModel.php +++ b/administrator/components/com_workflow/Model/TransitionsModel.php @@ -132,12 +132,13 @@ public function getListQuery() $select = $db->quoteName( array( - 't.id', - 't.title', - 't.from_stage_id', - 't.to_stage_id', - 't.published', - 't.ordering', + 't.id', + 't.title', + 't.from_stage_id', + 't.to_stage_id', + 't.published', + 't.ordering', + 't.description', ) ); diff --git a/administrator/components/com_workflow/forms/stage.xml b/administrator/components/com_workflow/forms/stage.xml index 379aff69b8595..6b481aa963846 100644 --- a/administrator/components/com_workflow/forms/stage.xml +++ b/administrator/components/com_workflow/forms/stage.xml @@ -1,6 +1,6 @@
-
+
diff --git a/administrator/components/com_workflow/forms/transition.xml b/administrator/components/com_workflow/forms/transition.xml index 5087b3b8c6519..5b59a45759c24 100644 --- a/administrator/components/com_workflow/forms/transition.xml +++ b/administrator/components/com_workflow/forms/transition.xml @@ -1,9 +1,9 @@ -
+
@@ -40,9 +39,8 @@ />
diff --git a/administrator/components/com_workflow/tmpl/stage/edit.php b/administrator/components/com_workflow/tmpl/stage/edit.php index cc781e83f1079..f447a95dab957 100644 --- a/administrator/components/com_workflow/tmpl/stage/edit.php +++ b/administrator/components/com_workflow/tmpl/stage/edit.php @@ -39,7 +39,7 @@
form->renderField('condition'); ?> - form->getInput('description'); ?> + form->renderField('description'); ?>
diff --git a/administrator/components/com_workflow/tmpl/stages/default.php b/administrator/components/com_workflow/tmpl/stages/default.php index 3abd99c493d08..9710911ef33b9 100644 --- a/administrator/components/com_workflow/tmpl/stages/default.php +++ b/administrator/components/com_workflow/tmpl/stages/default.php @@ -123,8 +123,10 @@ escape(Text::_($item->title)); ?> +
escape(Text::_($item->description)); ?>
escape(Text::_($item->title)); ?> +
escape(Text::_($item->description)); ?>
diff --git a/administrator/components/com_workflow/tmpl/transition/edit.php b/administrator/components/com_workflow/tmpl/transition/edit.php index f4688b0d73237..798621dfca777 100644 --- a/administrator/components/com_workflow/tmpl/transition/edit.php +++ b/administrator/components/com_workflow/tmpl/transition/edit.php @@ -26,46 +26,22 @@ ?> - - -
+ + 'details')); ?>
-
-
- form->getLabel('from_stage_id'); ?> -
-
- form->getInput('from_stage_id'); ?> -
-
-
-
- form->getLabel('to_stage_id'); ?> -
-
- form->getInput('to_stage_id'); ?> -
-
- form->getInput('description'); ?> + form->renderField('from_stage_id'); ?> + form->renderField('to_stage_id'); ?> + form->renderField('description'); ?>
-
-
-
- form->getLabel('published'); ?> -
-
- form->getInput('published'); ?> -
-
-
+
diff --git a/administrator/components/com_workflow/tmpl/transitions/default.php b/administrator/components/com_workflow/tmpl/transitions/default.php index 97bfd3f5072a9..aa30f765ecc68 100644 --- a/administrator/components/com_workflow/tmpl/transitions/default.php +++ b/administrator/components/com_workflow/tmpl/transitions/default.php @@ -116,10 +116,12 @@ '; ?> - title; ?> + escape(Text::_($item->title)); ?> +
escape(Text::_($item->description)); ?>
- title; ?> + escape(Text::_($item->title)); ?> +
escape(Text::_($item->description)); ?>
diff --git a/administrator/language/en-GB/en-GB.com_workflow.ini b/administrator/language/en-GB/en-GB.com_workflow.ini index bc79ac668285f..6056b348c9b7c 100644 --- a/administrator/language/en-GB/en-GB.com_workflow.ini +++ b/administrator/language/en-GB/en-GB.com_workflow.ini @@ -79,6 +79,7 @@ COM_WORKFLOW_STAGES="Stages" COM_WORKFLOW_STAGES_LIST="%s Stages List" COM_WORKFLOW_STAGE_ADD="Add Stage" COM_WORKFLOW_STAGE_EDIT="Edit Stage" +COM_WORKFLOW_STAGE_NOTE="Note" COM_WORKFLOW_TOOLBAR_DEFAULT="Default" COM_WORKFLOW_TO_STAGE="To Stage" COM_WORKFLOW_TO_STAGE_DESC="Select target stage." @@ -89,6 +90,7 @@ COM_WORKFLOW_TRANSITIONS_LIST="%s Transitions List" COM_WORKFLOW_TRANSITION_ADD="Add Transition" COM_WORKFLOW_TRANSITION_DUPLICATE="This transition already exists." COM_WORKFLOW_TRANSITION_EDIT="Edit Transition" +COM_WORKFLOW_TRANSITION_NOTE="Note" COM_WORKFLOW_TRANSITION_THE_SAME_STAGE="Current stage and target stage are the same." COM_WORKFLOW_TRASHED="Trashed" COM_WORKFLOW_UNPUBLISH_DEFAULT_ERROR="You can't unpublish the default workflow."