Skip to content
Snippets Groups Projects
Unverified Commit b2b90187 authored by Tobias Reischmann's avatar Tobias Reischmann
Browse files

Renamed edit title to edit genaral settings for workflow table tools

parent 294cb82f
Branches
No related tags found
No related merge requests found
...@@ -102,6 +102,11 @@ class workflow_definition_table extends workflow_table { ...@@ -102,6 +102,11 @@ class workflow_definition_table extends workflow_table {
if (!isset($lib) || $lib->has_multiple_instances()) { if (!isset($lib) || $lib->has_multiple_instances()) {
$action = ACTION_WORKFLOW_INSTANCE_FROM;
$alt = get_string('editworkflow', 'tool_lifecycle');
$icon = 't/edit';
$output .= $this->format_icon_link($action, $row->id, $icon, $alt);
$action = ACTION_WORKFLOW_DUPLICATE; $action = ACTION_WORKFLOW_DUPLICATE;
$alt = get_string('duplicateworkflow', 'tool_lifecycle'); $alt = get_string('duplicateworkflow', 'tool_lifecycle');
$icon = 't/copy'; $icon = 't/copy';
...@@ -112,11 +117,6 @@ class workflow_definition_table extends workflow_table { ...@@ -112,11 +117,6 @@ class workflow_definition_table extends workflow_table {
$icon = 't/backup'; $icon = 't/backup';
$output .= $this->format_icon_link($action, $row->id, $icon, $alt); $output .= $this->format_icon_link($action, $row->id, $icon, $alt);
$action = ACTION_WORKFLOW_INSTANCE_FROM;
$alt = get_string('editworkflow', 'tool_lifecycle');
$icon = 't/edit';
$output .= $this->format_icon_link($action, $row->id, $icon, $alt);
if (!workflow_manager::is_active($row->id)) { if (!workflow_manager::is_active($row->id)) {
$action = ACTION_WORKFLOW_DELETE; $action = ACTION_WORKFLOW_DELETE;
$alt = get_string('deleteworkflow', 'tool_lifecycle'); $alt = get_string('deleteworkflow', 'tool_lifecycle');
......
...@@ -88,7 +88,7 @@ $string['workflow_timeactive'] = 'Active since'; ...@@ -88,7 +88,7 @@ $string['workflow_timeactive'] = 'Active since';
$string['workflow_sortindex'] = 'Up/Down'; $string['workflow_sortindex'] = 'Up/Down';
$string['workflow_tools'] = 'Actions'; $string['workflow_tools'] = 'Actions';
$string['viewsteps'] = 'View Workflow Steps'; $string['viewsteps'] = 'View Workflow Steps';
$string['editworkflow'] = 'Edit Title'; $string['editworkflow'] = 'Edit General Settings';
$string['backupworkflow'] = 'Backup Workflow'; $string['backupworkflow'] = 'Backup Workflow';
$string['duplicateworkflow'] = 'Duplicate Workflow'; $string['duplicateworkflow'] = 'Duplicate Workflow';
$string['deleteworkflow'] = 'Delete Workflow'; $string['deleteworkflow'] = 'Delete Workflow';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment