X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=efb5ddf19d206f819990b8cbe43600a660d856a8;hp=734697a1c355faa6c9df843b6779485c401e6f0f;hb=1b25052b79d18b8b7af4eae95358ae0635da46a1;hpb=215eba5dca68e3c9586de3b593ea5f62271de36f diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 734697a..efb5ddf 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -15,7 +15,7 @@
- +
- - <%ifnull !currentSone> - Profile Avatar - <%else> - Sone is offline - <%/if> - +
+ + <%ifnull !currentSone> + <%ifnull !currentSone.avatar> + <%currentSone.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>