updating matrix help and international
This commit is contained in:
parent
76d8c516ca
commit
d46193b075
4 changed files with 379 additions and 424 deletions
|
|
@ -4,8 +4,16 @@ use strict;
|
|||
our $HELP = {
|
||||
|
||||
'search template' => {
|
||||
title => 'search template help title',
|
||||
body => '',
|
||||
title => 'search template help title',
|
||||
body => '',
|
||||
isa => [
|
||||
{ namespace => "Asset_Matrix",
|
||||
tag => "matrix asset template variables",
|
||||
},
|
||||
{ namespace => "Asset_Template",
|
||||
tag => "template variables",
|
||||
},
|
||||
],
|
||||
variables => [
|
||||
{ 'name' => 'compareForm', },
|
||||
{ 'name' => 'category_loop',
|
||||
|
|
@ -13,15 +21,9 @@ our $HELP = {
|
|||
{ 'name' => 'categoryLabel' },
|
||||
{ 'name' => 'attribute_loop',
|
||||
'variables' => [
|
||||
{ 'name' => 'label',
|
||||
'description' => 'tmplVar attribute_loop listing label'
|
||||
},
|
||||
{ 'name' => 'description',
|
||||
'description' => 'tmplVar attribute_loop description'
|
||||
},
|
||||
{ 'name' => 'form',
|
||||
'description' => 'tmplVar attribute_loop form'
|
||||
},
|
||||
{ 'name' => 'label' },
|
||||
{ 'name' => 'description' },
|
||||
{ 'name' => 'form' },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
@ -35,30 +37,24 @@ our $HELP = {
|
|||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'listing detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'edit listing template',
|
||||
namespace => 'Asset_Matrix'
|
||||
namespace => 'Asset_MatrixListing'
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
'compare template' => {
|
||||
title => 'comparison template help title',
|
||||
body => '',
|
||||
variables => [
|
||||
{ 'name' => 'isTooMany' },
|
||||
{ 'name' => 'isTooFew' },
|
||||
{ 'name' => 'lastupdated_loop',
|
||||
'variables' => [ { 'name' => 'lastUpdated' } ]
|
||||
title => 'comparison template help title',
|
||||
body => 'comparison template help body',
|
||||
isa => [
|
||||
{ namespace => "Asset_Matrix",
|
||||
tag => "matrix asset template variables",
|
||||
},
|
||||
{ 'name' => 'category_loop',
|
||||
'variables' => [
|
||||
{ 'name' => 'category',
|
||||
'description' => 'tmplVar category'
|
||||
},
|
||||
]
|
||||
}
|
||||
{ namespace => "Asset_Template",
|
||||
tag => "template variables",
|
||||
},
|
||||
],
|
||||
variables => [
|
||||
{ 'name' => 'javascript' },
|
||||
],
|
||||
related => [
|
||||
{ tag => 'search template',
|
||||
|
|
@ -67,23 +63,24 @@ our $HELP = {
|
|||
{ tag => 'main template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'listing detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'edit listing template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
'main template' => {
|
||||
title => 'matrix template help title',
|
||||
body => '',
|
||||
title => 'matrix template help title',
|
||||
body => '',
|
||||
isa => [
|
||||
{ namespace => "Asset_Matrix",
|
||||
tag => "matrix asset template variables",
|
||||
},
|
||||
{ namespace => "Asset_Template",
|
||||
tag => "template variables",
|
||||
},
|
||||
],
|
||||
variables => [
|
||||
{ 'name' => 'compare.form', },
|
||||
{ 'name' => 'search.url' },
|
||||
{ 'name' => 'compareForm', },
|
||||
{ 'name' => 'isLoggedIn' },
|
||||
{ 'name' => 'field.list.url' },
|
||||
{ 'name' => 'listAttributes_url' },
|
||||
{ 'name' => 'addMatrixListing_url' },
|
||||
{ 'name' => 'bestViews_url' },
|
||||
{ 'name' => 'bestViews_count' },
|
||||
|
|
@ -96,15 +93,9 @@ our $HELP = {
|
|||
{ 'name' => 'bestClicks_name' },
|
||||
{ 'name' => 'best_rating_loop',
|
||||
'variables' => [
|
||||
{ 'name' => 'url',
|
||||
'description' => 'tmplVar best.url'
|
||||
},
|
||||
{ 'name' => 'category',
|
||||
'description' => 'tmplVar best.category'
|
||||
},
|
||||
{ 'name' => 'name',
|
||||
'description' => 'tmplVar best.name'
|
||||
},
|
||||
{ 'name' => 'url' },
|
||||
{ 'name' => 'category' },
|
||||
{ 'name' => 'name' },
|
||||
{ 'name' => 'mean' },
|
||||
{ 'name' => 'median' },
|
||||
{ 'name' => 'count' }
|
||||
|
|
@ -112,48 +103,26 @@ our $HELP = {
|
|||
},
|
||||
{ 'name' => 'worst_rating_loop',
|
||||
'variables' => [
|
||||
{ 'name' => 'url',
|
||||
'description' => 'tmplVar worst.url'
|
||||
},
|
||||
{ 'name' => 'category',
|
||||
'description' => 'tmplVar worst.category'
|
||||
},
|
||||
{ 'name' => 'name',
|
||||
'description' => 'tmplVar worst.name'
|
||||
},
|
||||
{ 'name' => 'mean',
|
||||
'description' => 'tmplVar worst.mean'
|
||||
},
|
||||
{ 'name' => 'median',
|
||||
'description' => 'tmplVar worst.median'
|
||||
},
|
||||
{ 'name' => 'count',
|
||||
'description' => 'tmplVar worst.count'
|
||||
}
|
||||
{ 'name' => 'url' },
|
||||
{ 'name' => 'category' },
|
||||
{ 'name' => 'name' },
|
||||
{ 'name' => 'mean' },
|
||||
{ 'name' => 'median' },
|
||||
{ 'name' => 'count' }
|
||||
]
|
||||
},
|
||||
{ 'name' => 'last_update_loop',
|
||||
{ 'name' => 'last_updated_loop',
|
||||
'variables' => [
|
||||
{ 'name' => 'url',
|
||||
'description' => 'tmplVar last.url'
|
||||
},
|
||||
{ 'name' => 'name',
|
||||
'description' => 'tmplVar last.name'
|
||||
},
|
||||
{ 'name' => 'lastUpdated',
|
||||
'description' => 'tmplVar last.lastUpdated'
|
||||
}
|
||||
{ 'name' => 'url' },
|
||||
{ 'name' => 'name' },
|
||||
{ 'name' => 'lastUpdated' },
|
||||
]
|
||||
},
|
||||
{ 'name' => 'listingCount' },
|
||||
{ 'name' => 'pending_loop',
|
||||
'variables' => [
|
||||
{ 'name' => 'url',
|
||||
'description' => 'tmplVar pending.url'
|
||||
},
|
||||
{ 'name' => 'name',
|
||||
'description' => 'tmplVar pending.name'
|
||||
}
|
||||
{ 'name' => 'url' },
|
||||
{ 'name' => 'name' },
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
@ -164,94 +133,26 @@ our $HELP = {
|
|||
{ tag => 'compare template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'listing detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'edit listing template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
'listing detail template' => {
|
||||
title => 'detail template help title',
|
||||
body => '',
|
||||
variables => [
|
||||
{ 'name' => 'discussion' },
|
||||
{ 'name' => 'screenshot',
|
||||
'description' => 'tmplVar screenshot'
|
||||
'matrix asset template variables' => {
|
||||
private => 1,
|
||||
title => 'matrix asset template variables title',
|
||||
body => 'matrix asset template variables body',
|
||||
isa => [
|
||||
{ namespace => "Asset_Wobject",
|
||||
tag => "wobject template variables",
|
||||
},
|
||||
{ 'name' => 'thumbnail' },
|
||||
{ 'name' => 'emailForm' },
|
||||
{ 'name' => 'emailSent' },
|
||||
{ 'name' => 'isPending' },
|
||||
{ 'name' => 'lastUpdated_epoch' },
|
||||
{ 'name' => 'lastUpdated_date' },
|
||||
{ 'name' => 'id' },
|
||||
{ 'name' => 'description',
|
||||
'description' => 'listing description'
|
||||
},
|
||||
{ 'name' => 'productName' },
|
||||
{ 'name' => 'productUrl' },
|
||||
{ 'name' => 'productUrl_click' },
|
||||
{ 'name' => 'manufacturerName' },
|
||||
{ 'name' => 'manufacturerUrl' },
|
||||
{ 'name' => 'manufacturerUrl_click' },
|
||||
{ 'name' => 'versionNumber' },
|
||||
{ 'name' => 'views' },
|
||||
{ 'name' => 'compares' },
|
||||
{ 'name' => 'clicks' },
|
||||
{ 'name' => 'ratings' },
|
||||
{ 'name' => 'CATEGORY_NAME_loop',
|
||||
'variables' => [
|
||||
{ 'name' => 'value', },
|
||||
{ 'name' => 'name',
|
||||
'description' => 'tmplVar name'
|
||||
},
|
||||
{ 'name' => 'label' },
|
||||
{ 'name' => 'description',
|
||||
'description' => 'category listing description'
|
||||
},
|
||||
{ 'name' => 'category',
|
||||
'description' => 'tmplVar category'
|
||||
},
|
||||
{ 'name' => 'class',
|
||||
'description' => 'tmplVar class'
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
fields => [],
|
||||
variables => [],
|
||||
related => [
|
||||
{ tag => 'search template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'compare template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'main template',
|
||||
namespace => 'Asset_Matrix'
|
||||
{ tag => 'listing detail template',
|
||||
namespace => 'Asset_MatrixListing'
|
||||
},
|
||||
{ tag => 'edit listing template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
'edit listing template' => {
|
||||
title => 'edit listing template help title',
|
||||
body => '',
|
||||
variables => [
|
||||
{ 'name' => 'form', }
|
||||
],
|
||||
related => [
|
||||
{ tag => 'compare template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'main template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'listing detail template',
|
||||
namespace => 'Asset_Matrix'
|
||||
namespace => 'Asset_MatrixListing'
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
93
lib/WebGUI/Help/Asset_MatrixListing.pm
Normal file
93
lib/WebGUI/Help/Asset_MatrixListing.pm
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
package WebGUI::Help::Asset_MatrixListing;
|
||||
use strict;
|
||||
|
||||
our $HELP = {
|
||||
'listing detail template' => {
|
||||
title => 'detail template help title',
|
||||
body => '',
|
||||
isa => [
|
||||
{ namespace => "Asset_Template",
|
||||
tag => "template variables",
|
||||
},
|
||||
{ tag => 'asset template asset variables',
|
||||
namespace => 'Asset'
|
||||
},
|
||||
],
|
||||
variables => [
|
||||
{ 'name' => 'screenshots' },
|
||||
{ 'name' => 'emailForm' },
|
||||
{ 'name' => 'emailSent' },
|
||||
{ 'name' => 'lastUpdated_epoch' },
|
||||
{ 'name' => 'lastUpdated_date' },
|
||||
{ 'name' => 'description' },
|
||||
{ 'name' => 'productName' },
|
||||
{ 'name' => 'productUrl' },
|
||||
{ 'name' => 'productUrl_click' },
|
||||
{ 'name' => 'manufacturerName' },
|
||||
{ 'name' => 'manufacturerUrl' },
|
||||
{ 'name' => 'manufacturerUrl_click' },
|
||||
{ 'name' => 'version' },
|
||||
{ 'name' => 'views' },
|
||||
{ 'name' => 'compares' },
|
||||
{ 'name' => 'clicks' },
|
||||
{ 'name' => 'ratings' },
|
||||
{ 'name' => 'CATEGORY_NAME_loop',
|
||||
'variables' => [
|
||||
{ 'name' => 'categoryLabel' },
|
||||
{ 'name' => 'attribute_loop',
|
||||
'variables' => [
|
||||
{ 'name' => 'label' },
|
||||
{ 'name' => 'value' },
|
||||
{ 'name' => 'fieldType' },
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
related => [
|
||||
{ tag => 'search template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'compare template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'main template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'edit listing template',
|
||||
namespace => 'Asset_MatrixListing'
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
'edit listing template' => {
|
||||
title => 'edit listing template help title',
|
||||
body => '',
|
||||
isa => [
|
||||
{ namespace => "Asset_Template",
|
||||
tag => "template variables",
|
||||
},
|
||||
{ tag => 'asset template asset variables',
|
||||
namespace => 'Asset'
|
||||
},
|
||||
],
|
||||
variables => [
|
||||
{ 'name' => 'form', }
|
||||
],
|
||||
related => [
|
||||
{ tag => 'search template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'compare template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'main template',
|
||||
namespace => 'Asset_Matrix'
|
||||
},
|
||||
{ tag => 'listing detail template',
|
||||
namespace => 'Asset_MatrixListing'
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue