webgui/lib/WebGUI/Help/Asset_Story.pm
Colin Kuskie 494d97c53f Fix the carousel in the Story. Bug #10915
Add a template variables for the photoWidth from the Story's Archive.
Document the new template variable, with i18n.
Modify both Archive and Topic templates.
2009-09-05 14:56:16 -07:00

143 lines
4.4 KiB
Perl

package WebGUI::Help::Asset_Story;
use strict;
our $HELP = {
'edit template' => {
title => 'edit template',
body => '',
isa => [
{ namespace => 'Asset_Template',
tag => 'template variables'
},
],
fields => [],
variables => [
{ name => 'formHeader',
required => 1 },
{ name => 'formTitle', },
{ name => 'formFooter',
required => 1 },
{ name => 'titleForm', },
{ name => 'headlineForm', },
{ name => 'subtitleForm', },
{ name => 'bylineForm', },
{ name => 'locationForm', },
{ name => 'keywordsForm', },
{ name => 'summaryForm', },
{ name => 'highlightsForm', },
{ name => 'storyForm', },
{ name => 'saveButton', },
{ name => 'saveAndAddButton', },
{ name => 'cancelButton', },
{ name => 'photo_form_loop',
variables => [
{ name => 'hasPhoto', },
{ name => 'imgThumb', },
{ name => 'imgUrl', },
{ name => 'imgFilename', },
{ name => 'newUploadForm', },
{ name => 'imgCaptionForm', },
{ name => 'imgBylineForm', },
{ name => 'imgAltForm', },
{ name => 'imgTitleForm', },
{ name => 'imgUrlForm', },
{ name => 'imgDeleteForm', },
],
},
],
related => []
},
'view template' => {
title => 'view template',
body => '',
isa => [
{ namespace => 'Asset_Template',
tag => 'template variables'
},
],
fields => [],
variables => [
{ name => 'canEdit', },
{ name => 'highlights_loop',
'variables' => [
{ name => 'highlight', },
],
},
{ name => 'keywords_loop',
'variables' => [
{ name => 'keyword', },
{ name => 'url',
description => 'keyword_url'
},
],
},
{ name => 'updatedTime', },
{ name => 'updatedTimeEpoch', },
{ name => 'crumb_loop',
'variables' => [
{ name => 'title',
description => 'crumb_title'
},
{ name => 'url',
description => 'crumb_url'
},
],
},
{ name => 'photoWidth', },
{ name => 'hasPhotos', },
{ name => 'singlePhoto', },
{ name => 'photo_loop',
'variables' => [
{ name => 'imageUrl', },
{ name => 'imageCaption', },
{ name => 'imageByline', },
{ name => 'imageAlt', },
{ name => 'imageTitle', },
{ name => 'imageLink', },
],
},
],
related => []
},
'story asset template variables' => {
private => 1,
title => 'story asset template variables title',
body => '',
isa => [
{ namespace => 'Asset',
tag => 'asset template asset variables'
},
],
fields => [],
variables => [
{ name => 'headline',
description => 'headline tmplvar',
},
{ name => 'subtitle',
description => 'subtitle tmplvar',
},
{ name => 'byline',
description => 'byline tmplvar',
},
{ name => 'location',
description => 'location tmplvar',
},
{ name => 'highlights',
description => 'highlights tmplvar',
},
{ name => 'story',
description => 'story tmplvar',
},
{ name => 'photo',
description => 'photo tmplvar',
},
],
related => []
},
};
1;