Add notice on empty image gallery
This commit is contained in:
parent
9f45271b18
commit
6bd3ce7731
|
@ -111,6 +111,11 @@ $imageTemplate = '
|
|||
];
|
||||
echo strtr($imageTemplate, $vars);
|
||||
}
|
||||
|
||||
if (count($images) == 0) {
|
||||
echo "<h3 class='no-images'>Det er dessverre ingen bilder å vise.</h3>";
|
||||
}
|
||||
|
||||
?>
|
||||
</main>
|
||||
<div id="modal" class="modal">
|
||||
|
|
Loading…
Reference in New Issue