dynamically generate a list of available wobjects. Note that nothing shows up for collaboration since there is not help yet.
This commit is contained in:
parent
756840c292
commit
d26ae790c9
5 changed files with 33 additions and 50 deletions
|
|
@ -1,5 +1,7 @@
|
|||
package WebGUI::Help::Asset;
|
||||
|
||||
use WebGUI::Session;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'asset macros' => {
|
||||
|
|
@ -57,6 +59,22 @@ our $HELP = {
|
|||
],
|
||||
},
|
||||
|
||||
'asset list' => {
|
||||
title => 'asset list title',
|
||||
body => 'asset list body',
|
||||
related => [ 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;
|
||||
{ tag => "$tag add/edit",
|
||||
namespace => $namespace }
|
||||
}
|
||||
@{ $session{config}{assets} }, @{ $session{config}{assetContainers} }
|
||||
],
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package WebGUI::Help::IndexedSearch;
|
||||
|
||||
our $HELP = {
|
||||
'search add/edit' => {
|
||||
'indexed search add/edit' => {
|
||||
title => '26',
|
||||
body => '27',
|
||||
related => [
|
||||
|
|
@ -10,12 +10,12 @@ our $HELP = {
|
|||
namespace => 'Wobject'
|
||||
},
|
||||
{
|
||||
tag => 'search template',
|
||||
tag => 'indexed search template',
|
||||
namespace => 'IndexedSearch'
|
||||
}
|
||||
]
|
||||
},
|
||||
'search template' => {
|
||||
'indexed search template' => {
|
||||
title => '29',
|
||||
body => '28',
|
||||
related => [
|
||||
|
|
@ -24,7 +24,7 @@ our $HELP = {
|
|||
namespace => 'Wobject'
|
||||
},
|
||||
{
|
||||
tag => 'search add/edit',
|
||||
tag => 'indexed search add/edit',
|
||||
namespace => 'IndexedSearch'
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package WebGUI::Help::WSClient;
|
||||
|
||||
our $HELP = {
|
||||
'web services client add/edit' => {
|
||||
'ws client add/edit' => {
|
||||
title => '61',
|
||||
body => '71',
|
||||
related => [
|
||||
|
|
@ -15,7 +15,7 @@ our $HELP = {
|
|||
}
|
||||
]
|
||||
},
|
||||
'web services client template' => {
|
||||
'ws client template' => {
|
||||
title => '72',
|
||||
body => '73',
|
||||
related => [
|
||||
|
|
|
|||
|
|
@ -33,50 +33,6 @@ our $HELP = {
|
|||
tag => 'asset fields',
|
||||
namespace => 'Asset'
|
||||
},
|
||||
{
|
||||
tag => 'article add/edit',
|
||||
namespace => 'Article'
|
||||
},
|
||||
{
|
||||
tag => 'events calendar add/edit',
|
||||
namespace => 'EventsCalendar'
|
||||
},
|
||||
{
|
||||
tag => 'http proxy add/edit',
|
||||
namespace => 'HttpProxy'
|
||||
},
|
||||
{
|
||||
tag => 'data form add/edit',
|
||||
namespace => 'DataForm'
|
||||
},
|
||||
{
|
||||
tag => 'message board add/edit',
|
||||
namespace => 'MessageBoard'
|
||||
},
|
||||
{
|
||||
tag => 'metadata manage',
|
||||
namespace => 'Asset'
|
||||
},
|
||||
{
|
||||
tag => 'poll add/edit',
|
||||
namespace => 'Poll'
|
||||
},
|
||||
{
|
||||
tag => 'product add/edit',
|
||||
namespace => 'Product'
|
||||
},
|
||||
{
|
||||
tag => 'sql report add/edit',
|
||||
namespace => 'SQLReport'
|
||||
},
|
||||
{
|
||||
tag => 'survey add/edit',
|
||||
namespace => 'Survey'
|
||||
},
|
||||
{
|
||||
tag => 'syndicated content add/edit',
|
||||
namespace => 'SyndicatedContent'
|
||||
},
|
||||
{
|
||||
tag => 'wobjects using',
|
||||
namespace => 'Wobject'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue