Begin the Help purge.
First batch. Autogenerated lists of Assets, Workflow Activities and Template Parsers. Enabled Macros stay, but no linking to Macro pages.
This commit is contained in:
parent
02abc68aa8
commit
14180620ca
5 changed files with 10 additions and 180 deletions
|
|
@ -504,30 +504,6 @@ our $HELP = {
|
|||
]
|
||||
},
|
||||
|
||||
'asset list' => {
|
||||
title => 'asset list title',
|
||||
body => 'asset list body',
|
||||
fields => [
|
||||
],
|
||||
related => sub {
|
||||
my ($session) = @_;
|
||||
map {
|
||||
my ($namespace) = /::(\w+)$/;
|
||||
my $tag = $namespace;
|
||||
$tag =~ s/([a-z])([A-Z])/$1 $2/g; #Separate studly caps
|
||||
$tag =~ s/([A-Z]+(?![a-z]))/$1 /g; #Separate acronyms
|
||||
$tag = lc $tag;
|
||||
$namespace = join '', 'Asset_', $namespace;
|
||||
{ tag => "$tag add/edit",
|
||||
namespace => $namespace }
|
||||
}
|
||||
grep { $_ } ##Filter out empty entries
|
||||
@{ $session->config->get("assets") },
|
||||
@{ $session->config->get("assetContainers") },
|
||||
@{ $session->config->get("utilityAssets") },
|
||||
},
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue