rename i18n/English/ArchiveOldPosts to ArchiveOldThreads to match workflow activity name
Add simple docs for Archive Old Threads and CacheEMSPrereqs
This commit is contained in:
parent
bc3054c56d
commit
38bcbbc406
6 changed files with 64 additions and 17 deletions
29
lib/WebGUI/Help/Workflow_Activity.pm
Normal file
29
lib/WebGUI/Help/Workflow_Activity.pm
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
package WebGUI::Help::Workflow_Activity;
|
||||
|
||||
our $HELP = {
|
||||
'add/edit workflow activity' => {
|
||||
title => 'add/edit workflow activity',
|
||||
body => 'add/edit workflow activity body',
|
||||
isa => [
|
||||
],
|
||||
fields => [
|
||||
{
|
||||
title => 'title',
|
||||
description => 'title help',
|
||||
namespace => 'Workflow_Activity',
|
||||
},
|
||||
{
|
||||
title => 'description',
|
||||
description => 'description help',
|
||||
namespace => 'Workflow_Activity',
|
||||
},
|
||||
],
|
||||
variables => [
|
||||
],
|
||||
related => [
|
||||
],
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1; ##All perl modules must return true
|
||||
|
|
@ -21,11 +21,11 @@ use WebGUI::Asset;
|
|||
|
||||
=head1 NAME
|
||||
|
||||
Package WebGUI::Workflow::Activity::ArchiveOldPosts
|
||||
Package WebGUI::Workflow::Activity::ArchiveOldThreads
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Uses the settings in the collaboration systems to determine whether the posts in those collaboration systems should be archived.
|
||||
Uses the settings in the collaboration systems to determine whether the threads in those collaboration systems should be archived.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $session = shift;
|
||||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_ArchiveOldPosts");
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_ArchiveOldThreads");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
properties=> {}
|
||||
|
|
|
|||
|
|
@ -52,8 +52,9 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $session = shift;
|
||||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_CacheEMSPrereqs");
|
||||
push(@{$definition}, {
|
||||
name=>'cacheEMSEvents',
|
||||
name=>$i18n->get('topicName'),
|
||||
properties=> { }
|
||||
});
|
||||
return $class->SUPER::definition($session,$definition);
|
||||
|
|
|
|||
|
|
@ -25,8 +25,20 @@ our $I18N = {
|
|||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'add/edit workflow activity' => {
|
||||
message => q|Add/Edit Workflow Activity|,
|
||||
context => q|Title for the add and edit workflow activity screen|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'add/edit workflow activity body' => {
|
||||
message => q|Add/Edit Workflow Activity|,
|
||||
context => q|<p>Most Workflow Activities have these basic fields and properties:</p>|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'topicName' => {
|
||||
message => q|Unnamed|,
|
||||
message => q|Base Workflow Activity|,
|
||||
context => q|The name of this workflow activity.|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
package WebGUI::i18n::English::Workflow_Activity_ArchiveOldPosts;
|
||||
|
||||
our $I18N = {
|
||||
'topicName' => {
|
||||
message => q|Archive Old Posts|,
|
||||
context => q|The name of this workflow activity.|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
package WebGUI::i18n::English::Workflow_Activity_ArchiveOldThreads;
|
||||
|
||||
our $I18N = {
|
||||
'topicName' => {
|
||||
message => q|Archive Old Threads|,
|
||||
context => q|The name of this workflow activity.|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'archive old threads body' => {
|
||||
message => q|<p>This workflow activity will go through all Collaboration Systems (CS) in your site and, based on the settings of that CS, archive old posts.</p>|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue