forked from Public/pics
PhotosIndex: rename 'row' layout to 'landscapes'
This commit is contained in:
parent
68ef80fb9f
commit
be909bf54d
@ -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'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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">';
|
||||||
|
Loading…
Reference in New Issue
Block a user