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.
This commit is contained in:
parent
f484a344b3
commit
494d97c53f
6 changed files with 9 additions and 0 deletions
|
|
@ -914,6 +914,7 @@ sub viewTemplateVariables {
|
|||
$var->{hasPhotos} = $photoCounter;
|
||||
$var->{singlePhoto} = $photoCounter == 1;
|
||||
$var->{canEdit} = $self->canEdit;
|
||||
$var->{photoWidth} = $archive->get('photoWidth');
|
||||
return $var;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue