template variables for WeatherData Asset
This commit is contained in:
parent
aa40c5b556
commit
3ba2400cf9
2 changed files with 51 additions and 1 deletions
|
|
@ -32,6 +32,12 @@ our $HELP = {
|
|||
'weatherdata template' => {
|
||||
title => 'WeatherData template title',
|
||||
body => 'WeatherData template description',
|
||||
isa => [
|
||||
{
|
||||
tag => "weatherdata asset template variables",
|
||||
namespace => 'Asset_WeatherData'
|
||||
},
|
||||
],
|
||||
fields => [
|
||||
],
|
||||
variables => [
|
||||
|
|
@ -56,7 +62,7 @@ our $HELP = {
|
|||
]
|
||||
}
|
||||
],
|
||||
related => [
|
||||
related => [
|
||||
{
|
||||
tag => 'weather data add/edit',
|
||||
namespace => 'Asset_WeatherData'
|
||||
|
|
@ -67,6 +73,30 @@ our $HELP = {
|
|||
}
|
||||
]
|
||||
},
|
||||
|
||||
'weatherdata asset template variables' => {
|
||||
title => 'weatherdata asset template variables title',
|
||||
body => 'weatherdata asset template variables body',
|
||||
isa => [
|
||||
{
|
||||
tag => "wobject template variables",
|
||||
namespace => 'Asset_Wobject'
|
||||
},
|
||||
],
|
||||
fields => [
|
||||
],
|
||||
variables => [
|
||||
{
|
||||
'name' => 'templateId'
|
||||
},
|
||||
{
|
||||
'name' => 'locations'
|
||||
},
|
||||
],
|
||||
related => [
|
||||
],
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -80,7 +80,27 @@ our $I18N = {
|
|||
lastUpdated => 1149565185,
|
||||
},
|
||||
|
||||
'templateId' => {
|
||||
message => q|The ID of the template that will be used to display this Asset.|,
|
||||
lastUpdated => 1167972308,
|
||||
},
|
||||
|
||||
'locations' => {
|
||||
message => q|The list of locations entered by the user.|,
|
||||
lastUpdated => 1167972310,
|
||||
},
|
||||
|
||||
'weatherdata asset template variables title' => {
|
||||
message => q|WeatherData Asset Template Variables|,
|
||||
lastUpdated => 1167972337
|
||||
},
|
||||
|
||||
'weatherdata 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 => 1164841201
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue