Template help and i18n for the view template.
This commit is contained in:
parent
df4d6efb10
commit
64ff0ad4d4
2 changed files with 107 additions and 0 deletions
59
lib/WebGUI/Help/Asset_StoryArchive.pm
Normal file
59
lib/WebGUI/Help/Asset_StoryArchive.pm
Normal file
|
|
@ -0,0 +1,59 @@
|
||||||
|
package WebGUI::Help::Asset_StoryArchive;
|
||||||
|
use strict;
|
||||||
|
|
||||||
|
our $HELP = {
|
||||||
|
|
||||||
|
'view template' => {
|
||||||
|
title => 'view template',
|
||||||
|
body => '',
|
||||||
|
isa => [
|
||||||
|
{ namespace => "Asset_StoryArchive",
|
||||||
|
tag => "storyarchive asset template variables"
|
||||||
|
},
|
||||||
|
{ namespace => "Asset_Template",
|
||||||
|
tag => "template variables"
|
||||||
|
},
|
||||||
|
{ namespace => "Asset",
|
||||||
|
tag => "asset template"
|
||||||
|
},
|
||||||
|
{ tag => 'pagination template variables',
|
||||||
|
namespace => 'WebGUI'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
fields => [],
|
||||||
|
variables => [
|
||||||
|
{ 'name' => 'date_loop',
|
||||||
|
'variables' => [
|
||||||
|
{ 'name' => 'epochDate' },
|
||||||
|
{ 'name' => 'story_loop',
|
||||||
|
'variables' => [
|
||||||
|
{ 'name' => 'url' },
|
||||||
|
{ 'name' => 'title' },
|
||||||
|
{ 'name' => 'creationDate' },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
]
|
||||||
|
},
|
||||||
|
],
|
||||||
|
related => []
|
||||||
|
},
|
||||||
|
|
||||||
|
'storyarchive asset template variables' => {
|
||||||
|
private => 1,
|
||||||
|
title => 'storyarchive asset template variables title',
|
||||||
|
body => '',
|
||||||
|
isa => [
|
||||||
|
{ namespace => "Asset_Wobject",
|
||||||
|
tag => "wobject template variables"
|
||||||
|
},
|
||||||
|
],
|
||||||
|
fields => [],
|
||||||
|
variables => [
|
||||||
|
],
|
||||||
|
related => []
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
1;
|
||||||
|
|
@ -117,6 +117,54 @@ our $I18N = {
|
||||||
lastUpdated => 0,
|
lastUpdated => 0,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'storyarchive asset template variables title' => {
|
||||||
|
message => q|Story Archive Asset Template Variables.|,
|
||||||
|
context => q|Title of a help page for asset level template variables.|,
|
||||||
|
lastUpdated => 0,
|
||||||
|
},
|
||||||
|
|
||||||
|
'view template' => {
|
||||||
|
message => q|Story Archive, View Template|,
|
||||||
|
context => q|Title of a help page.|,
|
||||||
|
lastUpdated => 0,
|
||||||
|
},
|
||||||
|
|
||||||
|
'date_loop' => {
|
||||||
|
message => q|A loop containing stories in the date they were submitted, with subloops for each day. The loop is paginated.|,
|
||||||
|
context => q|Template variable.|,
|
||||||
|
lastUpdated => 0,
|
||||||
|
},
|
||||||
|
|
||||||
|
'epochDate' => {
|
||||||
|
message => q|The epoch that is the beginning of the day for a day where stories were submitted to the Story Archive.|,
|
||||||
|
context => q|Template variable.|,
|
||||||
|
lastUpdated => 0,
|
||||||
|
},
|
||||||
|
|
||||||
|
'story_loop' => {
|
||||||
|
message => q|A loop containing all stories there were submitted on the day given by epochDate.|,
|
||||||
|
context => q|Template variable.|,
|
||||||
|
lastUpdated => 0,
|
||||||
|
},
|
||||||
|
|
||||||
|
'url' => {
|
||||||
|
message => q|The URL to view a story.|,
|
||||||
|
context => q|Template variable.|,
|
||||||
|
lastUpdated => 0,
|
||||||
|
},
|
||||||
|
|
||||||
|
'title' => {
|
||||||
|
message => q|The title of a story.|,
|
||||||
|
context => q|Template variable.|,
|
||||||
|
lastUpdated => 0,
|
||||||
|
},
|
||||||
|
|
||||||
|
'creationDate' => {
|
||||||
|
message => q|The epoch date when this story was created, or submitted, to the Story Archive.|,
|
||||||
|
context => q|Template variable.|,
|
||||||
|
lastUpdated => 0,
|
||||||
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue