PhotosIndex: rename 'row' layout to 'landscapes'

This commit is contained in:
Aaron van Geffen 2023-04-01 14:41:24 +02:00
parent 68ef80fb9f
commit be909bf54d
2 changed files with 2 additions and 2 deletions

View File

@ -169,6 +169,6 @@ class PhotoMosaic
if ($num_portrait > $num_landscape) if ($num_portrait > $num_landscape)
return [$photos, 'portraits']; return [$photos, 'portraits'];
else else
return [$photos, 'row']; return [$photos, 'landscapes'];
} }
} }

View File

@ -229,7 +229,7 @@ class PhotosIndex extends Template
</div>'; </div>';
} }
protected function row(array $photos) protected function landscapes(array $photos)
{ {
echo ' echo '
<div class="row g-5 mb-5 tile-row-landscapes">'; <div class="row g-5 mb-5 tile-row-landscapes">';