Fix rendering of the carousel inside of a Story. Fixes bug #12386
This commit is contained in:
parent
50c7634800
commit
e046e5a8ce
8 changed files with 55 additions and 4 deletions
|
|
@ -966,10 +966,11 @@ sub viewTemplateVariables {
|
|||
};
|
||||
++$photoCounter;
|
||||
}
|
||||
$var->{hasPhotos} = $photoCounter;
|
||||
$var->{singlePhoto} = $photoCounter == 1;
|
||||
$var->{canEdit} = $self->canEdit;
|
||||
$var->{photoWidth} = $archive->get('photoWidth');
|
||||
$var->{hasPhotos} = $photoCounter;
|
||||
$var->{singlePhoto} = $photoCounter == 1;
|
||||
$var->{canEdit} = $self->canEdit;
|
||||
$var->{photoWidth} = $archive->get('photoWidth');
|
||||
$var->{photoHeight} = $archive->get('photoHeight');
|
||||
return $var;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue