X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewAlbum.html;h=bf9ea78e3b958e2a49655e2114283547ed1786e8;hb=0d68d165ed66e86fd57f09c8cfb744ccd64ed36a;hp=08219093106aa5d13c4e862c255e20323685a94e;hpb=4976669a17eb72bb7451edcf367c0956a40a8c2f;p=Sone.git diff --git a/src/main/resources/templates/include/viewAlbum.html b/src/main/resources/templates/include/viewAlbum.html index 0821909..bf9ea78 100644 --- a/src/main/resources/templates/include/viewAlbum.html +++ b/src/main/resources/templates/include/viewAlbum.html @@ -1,45 +1,28 @@ -
- -
- - <%ifnull album.albumImage> - <% album.title|html> - <%else> -
- <% album.albumImage|image-link class==album-image max-width==250 max-height==250 mode==enlarge title=album.title> -
-
+
+ -
-
<% album.title|html> (<%= View.Sone.Stats.Images|l10n 0=album.images.size>)
-
<% album.description|parse sone=album.sone|render>
+
+ + +
<% =View.Album.SizeAndAuthor|l10n 0=album.sone.niceName 1=album.images.size|html|replace needle=="[link]" replacement==''|replace needle=='[/link]' replacement==''|replace needle=='' replacement=album.sone.id>
+ <%if album.sone.local> +
+ + + +
+ + +
+
+ <%/if> +
<% album.description|parse sone=album.sone|render>
- <%if album.sone.local> -
- - - - -
- - -
- - -
- <%/if>