Fixed a bug in the generation of related help for the list of Macros. Macro names with all caps returned a help topic name with a space at the end.
Another batch of Activity docs.
This commit is contained in:
parent
d27b3c24b6
commit
3d77b2451a
10 changed files with 175 additions and 1 deletions
|
|
@ -63,6 +63,7 @@ our $HELP = {
|
|||
$tag =~ s/^[a-zA-Z]+_//; #Remove initial shortcuts
|
||||
$tag =~ s/([A-Z]+(?![a-z]))/$1 /g; #Separate acronyms
|
||||
$tag =~ s/([a-z])([A-Z])/$1 $2/g; #Separate studly caps
|
||||
$tag =~ s/\s+$//;
|
||||
$tag = lc $tag;
|
||||
$namespace = join '', 'Macro_', $_;
|
||||
{ tag => $tag,
|
||||
|
|
|
|||
23
lib/WebGUI/Help/Workflow_Activity_ExportVersionTagToHtml.pm
Normal file
23
lib/WebGUI/Help/Workflow_Activity_ExportVersionTagToHtml.pm
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
package WebGUI::Help::Workflow_Activity_ExportVersionTagToHtml;
|
||||
|
||||
our $HELP = {
|
||||
'export version tag to html' => {
|
||||
title => 'topicName',
|
||||
body => 'export version tag to html body',
|
||||
isa => [
|
||||
{
|
||||
namespace => "Workflow_Activity",
|
||||
tag => "add/edit workflow activity"
|
||||
},
|
||||
],
|
||||
fields => [
|
||||
],
|
||||
variables => [
|
||||
],
|
||||
related => [
|
||||
],
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1; ##All perl modules must return true
|
||||
23
lib/WebGUI/Help/Workflow_Activity_GetCsPost.pm
Normal file
23
lib/WebGUI/Help/Workflow_Activity_GetCsPost.pm
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
package WebGUI::Help::Workflow_Activity_GetCsPost;
|
||||
|
||||
our $HELP = {
|
||||
'get cs post' => {
|
||||
title => 'topicName',
|
||||
body => 'get cs post body',
|
||||
isa => [
|
||||
{
|
||||
namespace => "Workflow_Activity",
|
||||
tag => "add/edit workflow activity"
|
||||
},
|
||||
],
|
||||
fields => [
|
||||
],
|
||||
variables => [
|
||||
],
|
||||
related => [
|
||||
],
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1; ##All perl modules must return true
|
||||
38
lib/WebGUI/Help/Workflow_Activity_NotifyAboutUser.pm
Normal file
38
lib/WebGUI/Help/Workflow_Activity_NotifyAboutUser.pm
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
package WebGUI::Help::Workflow_Activity_NotifyAboutUser;
|
||||
|
||||
our $HELP = {
|
||||
'notify about user' => {
|
||||
title => 'topicName',
|
||||
body => 'notify about user body',
|
||||
isa => [
|
||||
{
|
||||
namespace => "Workflow_Activity",
|
||||
tag => "add/edit workflow activity"
|
||||
},
|
||||
],
|
||||
fields => [
|
||||
{
|
||||
title => 'to',
|
||||
description => 'to help',
|
||||
namespace => 'Workflow_Activity_NotifyAboutUser',
|
||||
},
|
||||
{
|
||||
title => 'subject',
|
||||
description => 'subject help',
|
||||
namespace => 'Workflow_Activity_NotifyAboutUser',
|
||||
},
|
||||
{
|
||||
title => 'message',
|
||||
description => 'message help',
|
||||
namespace => 'Workflow_Activity_NotifyAboutUser',
|
||||
},
|
||||
],
|
||||
variables => [
|
||||
],
|
||||
related => [
|
||||
],
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1; ##All perl modules must return true
|
||||
33
lib/WebGUI/Help/Workflow_Activity_NotifyAboutVersionTag.pm
Normal file
33
lib/WebGUI/Help/Workflow_Activity_NotifyAboutVersionTag.pm
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
package WebGUI::Help::Workflow_Activity_NotifyAboutVersionTag;
|
||||
|
||||
our $HELP = {
|
||||
'notify about version tag' => {
|
||||
title => 'topicName',
|
||||
body => 'notify about version tag body',
|
||||
isa => [
|
||||
{
|
||||
namespace => "Workflow_Activity",
|
||||
tag => "add/edit workflow activity"
|
||||
},
|
||||
],
|
||||
fields => [
|
||||
{
|
||||
title => 'who to notify',
|
||||
description => 'who to notify help',
|
||||
namespace => 'VersionTag',
|
||||
},
|
||||
{
|
||||
title => 'notify message',
|
||||
description => 'notify message help',
|
||||
namespace => 'VersionTag',
|
||||
},
|
||||
],
|
||||
variables => [
|
||||
],
|
||||
related => [
|
||||
],
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1; ##All perl modules must return true
|
||||
Loading…
Add table
Add a link
Reference in a new issue