Add text if an album was not found.
[Sone.git] / src / main / resources / templates / imageBrowser.html
index 30c61e4..9e03ef2 100644 (file)
@@ -2,4 +2,15 @@
 
        <h1><%= Page.ImageBrowser.Page.Title|l10n|html></h1>
 
+       <%if albumRequested>
+
+               <%ifnull album>
+
+                       <p><%= Page.ImageBrowser.Album.Error.NotFound.Text|l10n|html></p>
+
+               <%else>
+               <%/if>
+
+       <%/if>
+
 <%include include/tail.html>