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
|
||||
|
|
@ -9,7 +9,6 @@ our $I18N = {
|
|||
|
||||
'expire groupings body' => {
|
||||
message => q|<p>This workflow activity will go through all Groups and handle changes in group membership. If expiration notification has been setup for the group, users will be notified at the appropriate time before their membership expires. After the delete offset has passed from their expiration date, the user is deleted from the group.</p>
|
||||
<p>
|
||||
|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
package WebGUI::i18n::English::Workflow_Activity_ExportVersionTagToHtml;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'topicName' => {
|
||||
message => q|Export Version Tag to HTML|,
|
||||
context => q|The name of this workflow activity.|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'export version tag to html body' => {
|
||||
message => q|<p>This workflow activity will export every Asset contained in this version tag to HTML. If a custom workflow is created for handling version tags, it will automate the exporting of content to your static site.</p>|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
17
lib/WebGUI/i18n/English/Workflow_Activity_GetCsPost.pm
Normal file
17
lib/WebGUI/i18n/English/Workflow_Activity_GetCsPost.pm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package WebGUI::i18n::English::Workflow_Activity_GetCsPost;
|
||||
|
||||
our $I18N = {
|
||||
'topicName' => {
|
||||
message => q|Get Collaboration System Posts from Email|,
|
||||
context => q|The name of this workflow activity.|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'get cs post body' => {
|
||||
message => q|<p>This workflow activity will fetch emails to the email box configured for the Collaboration System and create threads and posts inside the CS from them. Because this process could take a long time, based on the number of emails that have queued up, the activity will stop after one minute.</p>|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -43,6 +43,11 @@ our $I18N = {
|
|||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'notify about user body' => {
|
||||
message => q|<p>This workflow activity will send out an email with information about a user. This can be used as a notification that some action needs to be taken, or to notify an Admin or Secondary Admin about a user.</p>|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
package WebGUI::i18n::English::Workflow_Activity_NotifyAboutVersionTag;
|
||||
|
||||
our $I18N = {
|
||||
'topicName' => {
|
||||
message => q|Notify About Version Tag|,
|
||||
context => q|The name of this workflow activity.|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'notify about version tag body' => {
|
||||
message => q|<p>This workflow activity will send out an email with information about a version tag. The message can be sent to either the tag's committer, the tag's owner, or a group responsible for the tag. The message will include fixed text configured in this activity as well as comments from the tag and the URL to the first asset found in the tag.</p>|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue