X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=71d5b17c1f0885ec598967f98db3f2d33b795f7a;hp=cd9eddf893c00a9feb224b8458a3a2b00ccc4491;hb=HEAD;hpb=0df5e91852f737d760c5a9f54c5667309fbadcc2 diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index cd9eddf..71d5b17 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -4,7 +4,7 @@ - + @@ -15,6 +15,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>