X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=72fd3406a9d7aa1f84687c921cbf7b271bfa45f3;hb=4345bd3c2e5997193d4df442db464b8775d8de66;hp=7c1667c1a6ea07d1ceb24e476de11be17c76a25c;hpb=2fa9b1331a69d2f8fc09050515560fe1f3f41485;p=Sone.git diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 7c1667c..72fd340 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -1,5 +1,24 @@ <%include include/head.html> + + <%if albumRequested> @@ -8,13 +27,13 @@

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

- <%elseifnull album.name> + <%elseifnull album.title>

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

<%else> -

<%= Page.ImageBrowser.Album.Title|l10n|replace needle='{album}' replacementKey=album.name|html>

+

<%= Page.ImageBrowser.Album.Title|l10n|replace needle='{album}' replacementKey=album.title|html>

<%if album.sone.current> + <%include include/uploadImage.html> <%include include/createAlbum.html> <%/if> @@ -57,7 +95,15 @@ <%foreach sone.albums album>
-
<% album.name|html>
+
+ + <%ifnull album.image> + <% album.title|html> + <%else> + <% album.title|html> + <%/if> + +
<%/foreach>