X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=b1d9997a768ea1ec532084fc7f1d5d52b7a49eac;hb=c171fa8ea17c7e3c75caed5e2cc6747a11dd4bf9;hp=e9d1ad9cf54ec6ef79c66456c45a329935916cc0;hpb=19f6172ad218a12f8b69c11778f286ed28c5cb53;p=Sone.git diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index e9d1ad9..b1d9997 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -31,7 +31,7 @@ <%foreach album.albums album>
-
<% album.name|html>
+
<% album.name|html>
<%/foreach> @@ -47,15 +47,25 @@ <%elseif imageRequested> - <%else> + <%elseif soneRequested> - <%foreach currentSone.albums album> -
-
<% album.name|html>
-
- <%/foreach> + <%ifnull sone> + +

<%= Page.ImageBrowser.Sone.Error.NotFound.Text|l10n|html>

+ + <%else> + + <%foreach sone.albums album> +
+
<% album.name|html>
+
+ <%/foreach> + + <%if sone.current> + <%include include/createAlbum.html> + <%/if> - <%include include/createAlbum.html> + <%/if> <%/if>