From 5608a439166357b1a78e4857f67594882c550f17 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 9 Sep 2010 11:56:50 -0700 Subject: [PATCH] topStory template variables should be available in standAlone and not standAlone modes. Added template variables for delete and edit icons for the top story. Updated the tests, template and template variable help. Fixes bug #11851. --- docs/changelog/7.x.x.txt | 1 + docs/templates.txt | 12 +++++++ .../root_import_storymanager_storytopic.wgpkg | Bin 0 -> 1411 bytes lib/WebGUI/Asset/Wobject/StoryTopic.pm | 6 ++-- lib/WebGUI/Help/Asset_StoryTopic.pm | 4 +++ t/Asset/Wobject/StoryTopic.t | 32 ++++++++---------- 6 files changed, 36 insertions(+), 19 deletions(-) create mode 100644 docs/upgrades/packages-7.10.1/root_import_storymanager_storytopic.wgpkg diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 67741e6eb..64f26cca0 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.10.1 + - fixed #11851: Story Topic: top story variables should be available all the time 7.10.0 - fixed #11812: Checking www_ajaxSave's response in the cart js, urlencoding post parameters diff --git a/docs/templates.txt b/docs/templates.txt index 999d89272..4c138a884 100644 --- a/docs/templates.txt +++ b/docs/templates.txt @@ -15,3 +15,15 @@ templates, you will need to apply these changes manually to your copies. } Gallery.DDSorting.url = ''; + * Story Topic Template + Since topStory template variables are available all the time, manually add the topStory into the list of + stories when the topic is no viewed standalone. Also note the new template variables for the the delete + and edit icons for the top story. + +