X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=ea6fdec2689401321e4be07335f038a2044d4a27;hb=b05cc6e6e123a9cf6988e318435ba3b0a62fbb59;hp=d48cfa15693626c6bd306e72b9a635210337bb3a;hpb=411f17fd14972dffc24980d5f7860685ffbb99ff;p=Sone.git
diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html
index d48cfa1..ea6fdec 100644
--- a/src/main/resources/templates/imageBrowser.html
+++ b/src/main/resources/templates/imageBrowser.html
@@ -1,8 +1,25 @@
<%include include/head.html>
-
image-browser
+
- <%= Page.ImageBrowser.Page.Title|l10n|html>
+ image-browser
<%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>
- <%= Page.ImageBrowser.Album.Title|l10n|replace needle='{album}' replacementKey=album.name|html>
+ <%= Page.ImageBrowser.Album.Title|l10n|replace needle='{album}' replacementKey=album.title|html>
<%foreach album.backlinks backlink backlinks>
@@ -31,7 +48,21 @@
<%foreach album.albums album>
+ <%/foreach>
+
+ <%foreach album.images image>
+
<%/foreach>
@@ -40,6 +71,7 @@
<%if album.sone.current>
+ <%include include/uploadImage.html>
<%include include/createAlbum.html>
<%/if>
@@ -47,6 +79,18 @@
<%elseif imageRequested>
+ <%ifnull image>
+
+ <%else>
+
+
+
+ <%/if>
+
<%elseif soneRequested>
<%ifnull sone>
@@ -55,9 +99,19 @@
<%else>
+ <%= Page.ImageBrowser.Sone.Title|l10n|replace needle='{sone}' replacementKey=sone.niceName|html>
+
<%foreach sone.albums album>
<%/foreach>