template variable cleanups for Article and Folder assets
This commit is contained in:
parent
bb214587bf
commit
3bed1f62c4
3 changed files with 76 additions and 6 deletions
|
|
@ -161,6 +161,10 @@ our $HELP = {
|
|||
title => 'article asset template variables title',
|
||||
body => 'article asset template variables body',
|
||||
isa => [
|
||||
{
|
||||
namespace => "Asset_Wobject",
|
||||
tag => "wobject template variables"
|
||||
},
|
||||
],
|
||||
fields => [
|
||||
],
|
||||
|
|
|
|||
|
|
@ -23,6 +23,11 @@ our $HELP = {
|
|||
description => 'folder template description',
|
||||
namespace => 'Asset_Folder',
|
||||
},
|
||||
{
|
||||
title => 'sort alphabetically',
|
||||
description => 'sort alphabetically help',
|
||||
namespace => 'Asset_Folder',
|
||||
},
|
||||
],
|
||||
related => [
|
||||
{
|
||||
|
|
@ -37,8 +42,8 @@ our $HELP = {
|
|||
body => 'folder template body',
|
||||
isa => [
|
||||
{
|
||||
namespace => "Asset_Wobject",
|
||||
tag => "wobject template variables"
|
||||
namespace => "Asset_Folder",
|
||||
tag => "folder template asset variables"
|
||||
},
|
||||
],
|
||||
fields => [ ],
|
||||
|
|
@ -118,6 +123,39 @@ our $HELP = {
|
|||
]
|
||||
},
|
||||
|
||||
'folder template asset variables' => {
|
||||
title => 'asset template variables title',
|
||||
body => 'asset template variables body',
|
||||
isa => [
|
||||
{
|
||||
namespace => "Asset_Wobject",
|
||||
tag => "wobject template variables"
|
||||
},
|
||||
],
|
||||
fields => [ ],
|
||||
variables => [
|
||||
{
|
||||
name => 'sortAlphabetically',
|
||||
},
|
||||
{
|
||||
name => 'templateId',
|
||||
},
|
||||
{
|
||||
name => 'visitorCacheTimeout',
|
||||
},
|
||||
],
|
||||
related => [
|
||||
{
|
||||
tag => 'folder add/edit',
|
||||
namespace => 'Asset_Folder',
|
||||
},
|
||||
{
|
||||
tag => 'template language',
|
||||
namespace => 'Asset_Template',
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -79,8 +79,8 @@ to do you want to go to the new Folder?</p>|,
|
|||
},
|
||||
|
||||
'subfolder_loop' => {
|
||||
message => q|A loop containing all Folder assets which are children of the Folder.|,
|
||||
lastupdated => 0,
|
||||
message => q|A loop containing all Folder assets which are children of the Folder. The order of the Folders will be determined by the Sort Alphabetically flag in the edit screen.|,
|
||||
lastupdated => 1167417470,
|
||||
context => q|Template variable description.|
|
||||
},
|
||||
|
||||
|
|
@ -115,8 +115,8 @@ to do you want to go to the new Folder?</p>|,
|
|||
},
|
||||
|
||||
'file_loop' => {
|
||||
message => q|A loop containing all non-Folder assets which are children of the Folder.|,
|
||||
lastupdated => 0,
|
||||
message => q|A loop containing all non-Folder assets which are children of the Folder. The order of the Folders will be determined by the Sort Alphabetically flag in the edit screen.|,
|
||||
lastupdated => 1167417468,
|
||||
context => q|Template variable description.|
|
||||
},
|
||||
|
||||
|
|
@ -226,6 +226,34 @@ to do you want to go to the new Folder?</p>|,
|
|||
message => q|Add files.|,
|
||||
lastUpdated => 1146649269,
|
||||
},
|
||||
|
||||
'asset template variables title' => {
|
||||
message => q|Folder Asset Template Variables|,
|
||||
lastUpdated => 1167416930
|
||||
},
|
||||
|
||||
'asset template variables body' => {
|
||||
message => q|Every asset provides a set of variables to most of its
|
||||
templates based on the internal asset properties. Some of these variables may
|
||||
be useful, others may not.|,
|
||||
lastUpdated => 1167416933
|
||||
},
|
||||
|
||||
'sortAlphabetically' => {
|
||||
message => q|A conditional that indicates that subfolders and files will be sorted alphabetically.|,
|
||||
lastUpdated => 1167416930
|
||||
},
|
||||
|
||||
'templateId' => {
|
||||
message => q|The ID of the template used to display the Folder contents.|,
|
||||
lastUpdated => 1167416930
|
||||
},
|
||||
|
||||
'visitorCacheTimeout' => {
|
||||
message => q|In seconds, how long output from this Asset will be cached.|,
|
||||
lastUpdated => 1167416930
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue