X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=e9b3c061a9ae6e909921af33af779c9797b815cb;hp=a8f1e985e3bd53b78de91a6dfcbc29ab3dde6da7;hb=2f6b4b0b17855b1d35f778a45456975b7fc5fdf0;hpb=bd451c9e9aa4618a255f0216222b7c22745c9f7f
diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html
index a8f1e98..e9b3c06 100644
--- a/src/main/resources/templates/imageBrowser.html
+++ b/src/main/resources/templates/imageBrowser.html
@@ -69,6 +69,25 @@
<% album.description|html>
+ <%if album.sone.local>
+ <%= Page.ImageBrowser.Album.Edit.Title|l10n|html>
+
+
+ <%/if>
+
<%foreach album.albums album>
<%first><%= Page.ImageBrowser.Header.Albums|l10n|html>
<%/first>
<%if loop.count|mod divisor=3><%/if>
@@ -89,6 +108,10 @@
<%if endRow>
<%/if>
<%/foreach>
+ <%if album.sone.local>
+ <%include include/createAlbum.html>
+ <%/if>
+
<%foreach album.images image>
<%first><%= Page.ImageBrowser.Header.Images|l10n|html>
<%/first>
<%if loop.count|mod divisor=3><%/if>
@@ -103,24 +126,6 @@
<%if album.sone.local>
<%include include/uploadImage.html>
- <%include include/createAlbum.html>
-
-
<%= Page.ImageBrowser.Album.Edit.Title|l10n|html>
-
-
<%if album.empty>