X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=72fd3406a9d7aa1f84687c921cbf7b271bfa45f3;hb=4345bd3c2e5997193d4df442db464b8775d8de66;hp=b1d9997a768ea1ec532084fc7f1d5d52b7a49eac;hpb=c171fa8ea17c7e3c75caed5e2cc6747a11dd4bf9;p=Sone.git diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index b1d9997..72fd340 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -1,8 +1,25 @@ <%include include/head.html> - + -

<%= Page.ImageBrowser.Page.Title|l10n|html>

+ <%if albumRequested> @@ -10,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> -

<% 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> @@ -55,9 +91,19 @@ <%else> +

<%= Page.ImageBrowser.Sone.Title|l10n|replace needle='{sone}' replacementKey=sone.niceName|html>

+ <%foreach sone.albums album>
-
<% album.name|html>
+
+ + <%ifnull album.image> + <% album.title|html> + <%else> + <% album.title|html> + <%/if> + +
<%/foreach>