X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=9988e68954522fb7d06d0a6d7ec0bc23f2a6edee;hb=0206f400c986a38cd91978059e98838c02af0b99;hp=ae642dcdbbbc577d35696c4e91af183ca154f00d;hpb=8b576ec955d0c3a7d6e57326438b532afe40aa0f;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index ae642dc..9988e68 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -40,13 +40,19 @@
- - <%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>