begin fixing wobject template variables

This commit is contained in:
Colin Kuskie 2006-12-29 07:21:06 +00:00
parent c283855f94
commit da0ae041a1
5 changed files with 59 additions and 17 deletions

View file

@ -184,7 +184,7 @@ our $HELP = {
tag => "template variables"
},
{
tag => 'wobject template',
tag => 'wobject template variables',
namespace => 'Asset_Wobject'
}
],
@ -429,7 +429,7 @@ our $HELP = {
tag => "template variables"
},
{
tag => 'wobject template',
tag => 'wobject template variables',
namespace => 'Asset_Wobject'
}
],

View file

@ -38,11 +38,7 @@ our $HELP = {
isa => [
{
namespace => "Asset_Wobject",
tag => "wobject template"
},
{
namespace => "Asset",
tag => "asset template",
tag => "wobject template variables"
},
],
fields => [ ],

View file

@ -245,7 +245,7 @@ our $HELP = {
isa => [
{
namespace => "Asset_Wobject",
tag => "wobject template"
tag => "wobject template variables"
},
{
namespace => "Asset",

View file

@ -98,12 +98,6 @@ our $HELP = {
{
'name' => 'assetId'
},
{
'name' => 'isShortcut'
},
{
'name' => 'originalURL'
},
],
related => [
{
@ -116,6 +110,40 @@ our $HELP = {
},
]
},
'wobject template variables' => {
title => 'wobject template variables title',
body => 'wobject template variables body',
isa => [
{
tag => 'asset template asset variables',
namespace => 'Asset'
},
],
fields => [
],
variables => [
{
'name' => 'displayTitle'
},
{
'name' => 'description'
},
{
'name' => 'styleTemplateId'
},
{
'name' => 'printableStyleTemplateId'
},
],
related => [
{
tag => 'template language',
namespace => 'Asset_Template'
},
]
},
};
1;

View file

@ -22,9 +22,14 @@ our $I18N = {
lastUpdated => 1148750705,
},
'isShortcut' => {
message => q|A conditional indicating if this wobject is a shortcut to an original asset.|,
lastUpdated => 1148750705,
'styleTemplateId' => {
message => q|The assetId of the template for displaying the Asset.|,
lastUpdated => 1167374549,
},
'printableStyleTemplateId' => {
message => q|The assetId of the template for displaying the Asset for printing.|,
lastUpdated => 1167374550,
},
'originalURL' => {
@ -150,6 +155,19 @@ is displayed as part of a Layout Asset, the Layout Asset's <b>Style Template</b>
lastUpdated => 1128575345,
},
'wobject template variables title' => {
message => q|Wobject Template Asset Variables|,
lastUpdated => 1167374430,
},
'wobject template variables body' => {
message => q|<p>These template variables are common to almost every Wobject and include all the template variables common to Assets. Many of them are internal asset properties that govern behavior and may not be very useful for templates. One example of this would be the ID of templates used to display the Asset. Depending on whether or not the user filled out the fields, they may or may not be blank.</p>
|,
lastUpdated => 1167374417,
},
};
1;