From 3ba2400cf999d09e9681dbd6ed886d9c8103aae4 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 5 Jan 2007 04:44:04 +0000 Subject: [PATCH] template variables for WeatherData Asset --- lib/WebGUI/Help/Asset_WeatherData.pm | 32 +++++++++++++++++++- lib/WebGUI/i18n/English/Asset_WeatherData.pm | 20 ++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/Help/Asset_WeatherData.pm b/lib/WebGUI/Help/Asset_WeatherData.pm index 899540d9a..25e6788c1 100644 --- a/lib/WebGUI/Help/Asset_WeatherData.pm +++ b/lib/WebGUI/Help/Asset_WeatherData.pm @@ -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; diff --git a/lib/WebGUI/i18n/English/Asset_WeatherData.pm b/lib/WebGUI/i18n/English/Asset_WeatherData.pm index 6ff319b7a..c7b0b608c 100644 --- a/lib/WebGUI/i18n/English/Asset_WeatherData.pm +++ b/lib/WebGUI/i18n/English/Asset_WeatherData.pm @@ -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 + }, };