Add template field to StoryTopic. The same template will be shared between both modes.

Add top story variables, and tests.
This commit is contained in:
Colin Kuskie 2009-03-19 16:43:21 +00:00
parent 4b859e5ada
commit ea31d52ac0
5 changed files with 71 additions and 18 deletions

View file

@ -19,13 +19,16 @@ our $HELP = {
],
fields => [],
variables => [
{ 'name' => 'story_loop',
'variables' => [
{ 'name' => 'url' },
{ 'name' => 'title' },
{ 'name' => 'creationDate' },
{ name => 'story_loop',
variables => [
{ name => 'url' },
{ name => 'title' },
{ name => 'creationDate' },
],
},
{ name => 'topStoryTitle' },
{ name => 'topStoryUrl' },
{ name => 'topStoryCreationDate' },
],
related => []
},