diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 433175139..69094db2f 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -14,6 +14,7 @@ - fixed #10902: Shelf asset is whiny - fixed #10879: Collaboration System Thread lose attachments - fixed #10876: EMS Schedule displaying wrong dates for ticket events + - fixed #10915: StoryManager: Carousel clips content 7.7.19 - fixed #10838: Forwarded forum post email to new CS adds reply to original thread diff --git a/docs/upgrades/packages-7.8.0/root_import_storymanager_storytemplate.wgpkg b/docs/upgrades/packages-7.8.0/root_import_storymanager_storytemplate.wgpkg new file mode 100644 index 000000000..919ecdbfb Binary files /dev/null and b/docs/upgrades/packages-7.8.0/root_import_storymanager_storytemplate.wgpkg differ diff --git a/docs/upgrades/packages-7.8.0/root_import_storymanager_storytemplatetopic.wgpkg b/docs/upgrades/packages-7.8.0/root_import_storymanager_storytemplatetopic.wgpkg new file mode 100644 index 000000000..3cad2f860 Binary files /dev/null and b/docs/upgrades/packages-7.8.0/root_import_storymanager_storytemplatetopic.wgpkg differ diff --git a/lib/WebGUI/Asset/Story.pm b/lib/WebGUI/Asset/Story.pm index c0d64e13a..f76e12656 100644 --- a/lib/WebGUI/Asset/Story.pm +++ b/lib/WebGUI/Asset/Story.pm @@ -914,6 +914,7 @@ sub viewTemplateVariables { $var->{hasPhotos} = $photoCounter; $var->{singlePhoto} = $photoCounter == 1; $var->{canEdit} = $self->canEdit; + $var->{photoWidth} = $archive->get('photoWidth'); return $var; } diff --git a/lib/WebGUI/Help/Asset_Story.pm b/lib/WebGUI/Help/Asset_Story.pm index e42314d59..214747381 100644 --- a/lib/WebGUI/Help/Asset_Story.pm +++ b/lib/WebGUI/Help/Asset_Story.pm @@ -85,6 +85,7 @@ our $HELP = { }, ], }, + { name => 'photoWidth', }, { name => 'hasPhotos', }, { name => 'singlePhoto', }, { name => 'photo_loop', diff --git a/lib/WebGUI/i18n/English/Asset_Story.pm b/lib/WebGUI/i18n/English/Asset_Story.pm index d49ad7524..1b7e2ce79 100644 --- a/lib/WebGUI/i18n/English/Asset_Story.pm +++ b/lib/WebGUI/i18n/English/Asset_Story.pm @@ -418,6 +418,12 @@ our $I18N = { lastUpdated => 0, }, + 'photoWidth' => { + message => q|The width of photos, set in the Story Archive for this Story.|, + context => q|Template variable|, + lastUpdated => 0, + }, + 'hasPhoto' => { message => q|This template variable will be true if the a photo in the photo_loop has an image in it.|, context => q|Template variable|,