documentation for adding and editing workflows

This commit is contained in:
Colin Kuskie 2006-07-01 02:59:07 +00:00
parent 1d9151e68b
commit bc3054c56d
3 changed files with 112 additions and 4 deletions

View file

@ -66,7 +66,8 @@ sub www_addWorkflow {
$f->submit;
my $ac = WebGUI::AdminConsole->new($session,"workflow");
$ac->addSubmenuItem($session->url->page("op=manageWorkflows"), $i18n->get("manage workflows"));
return $ac->render($f->print);
$ac->setHelp('add a new workflow', 'Workflow');
return $ac->render($f->print, 'add a new workflow');
}
#-------------------------------------------------------------------
@ -176,7 +177,8 @@ sub www_editWorkflow {
);
$f->readOnly(
label=>$i18n->get("object type"),
value=>$workflow->get("type")
value=>$workflow->get("type"),
hoverHelp=>$workflow->get("object type help2"),
);
$f->text(
name=>"title",
@ -226,7 +228,8 @@ sub www_editWorkflow {
my $ac = WebGUI::AdminConsole->new($session,"workflow");
$ac->addSubmenuItem($session->url->page("op=addWorkflow"), $i18n->get("add a new workflow"));
$ac->addSubmenuItem($session->url->page("op=manageWorkflows"), $i18n->get("manage workflows"));
return $ac->render($f->print.$addmenu.$steps);
$ac->setHelp('edit workflow','Workflow');
return $ac->render($f->print.$addmenu.$steps, 'edit workflow');
}