X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=a7852cf6e9c2fd8d535bc3c8c2f193de90541963;hb=3ed404cd25a3b3ec303991765c31bb8c32ce2896;hp=b37df26b099b098f16b60cc6f73ff8f141ee980f;hpb=701569d76dbf1916125d5cf81fb2b65c6976d6d7;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index b37df26..a7852cf 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -6,6 +6,8 @@ + +
@@ -14,6 +16,8 @@
+ +
- - <%ifnull !currentSone> - Profile Avatar - <%else> - Sone is offline - <%/if> - +
+ + <%ifnull !currentSone> + <%ifnull !currentSone.profile.avatar> + <%currentSone.profile.avatar|image-link max-width==80 max-height==80 mode==enlarge title=="Profile Avatar"> + <%else> + Profile Avatar + <%/if> + <%else> + Sone is offline + <%/if> + +
<%ifnull ! currentSone>
- <% currentSone|store key=sone> - <%include include/viewSone.html> + <%include include/viewSone.html sone=currentSone>
<%/if>