topics to be inherited from multiple entries. Operation/Help now also gives the help hash a default ISA array, to make downstream processing by tests and documentation compilers easier. Convert existing Help entries that already used ISA to have an array ref instead of a singular hash ref. Also update the Help skeleton to show the new syntax.
94 lines
2.1 KiB
Perl
94 lines
2.1 KiB
Perl
package WebGUI::Help::Asset_Layout;
|
|
|
|
our $HELP = {
|
|
|
|
'layout add/edit' => {
|
|
title => 'layout add/edit title',
|
|
body => 'layout add/edit body',
|
|
fields => [
|
|
{
|
|
title => 'layout template title',
|
|
description => 'template description',
|
|
namespace => 'Asset_Layout',
|
|
},
|
|
{
|
|
title => 'assets to hide',
|
|
description => 'assets to hide description',
|
|
namespace => 'Asset_Layout',
|
|
uiLevel => 9,
|
|
},
|
|
],
|
|
related => [
|
|
{
|
|
tag => 'asset fields',
|
|
namespace => 'Asset'
|
|
},
|
|
{
|
|
tag => 'wobject add/edit',
|
|
namespace => 'Asset_Wobject'
|
|
},
|
|
{
|
|
tag => 'layout template',
|
|
namespace => 'Asset_Layout'
|
|
},
|
|
]
|
|
},
|
|
|
|
'layout template' => {
|
|
title => 'layout template title',
|
|
body => 'layout template body',
|
|
isa => [
|
|
{
|
|
namespace => "Asset_Template",
|
|
tag => "template variables"
|
|
},
|
|
{
|
|
namespace => "Asset",
|
|
tag => "asset template"
|
|
},
|
|
],
|
|
variables => [
|
|
{
|
|
'name' => 'showAdmin'
|
|
},
|
|
{
|
|
'name' => 'dragger.icon'
|
|
},
|
|
{
|
|
'name' => 'dragger.init'
|
|
},
|
|
{
|
|
'name' => 'position1_loop',
|
|
'variables' => [
|
|
{
|
|
'name' => 'id'
|
|
},
|
|
{
|
|
'name' => 'content'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
'name' => 'attachment.size'
|
|
},
|
|
{
|
|
'name' => 'attachment.type'
|
|
}
|
|
],
|
|
fields => [
|
|
],
|
|
related => [
|
|
{
|
|
tag => 'layout add/edit',
|
|
namespace => 'Asset_Layout'
|
|
},
|
|
{
|
|
tag => 'template language',
|
|
namespace => 'Asset_Template'
|
|
},
|
|
]
|
|
},
|
|
|
|
};
|
|
|
|
1;
|