X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=e4334e6cd6701c54c6543363fc4b65f84222ff08;hb=54c454ce01a1a8970d1d1a540a5560160eb68e34;hp=b37df26b099b098f16b60cc6f73ff8f141ee980f;hpb=47ed7eaf00c35889781831d33d04e9f91c9ad266;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index b37df26..e4334e6 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -4,8 +4,10 @@ - + + +
@@ -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>