X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=74091ca4efe6bcd04b7522c9740719fefc265fbc;hb=e4daf856661958be1f88f0d3861823df91c78b1e;hp=e80a92c4fa908eaac1cb1f7f6c0c4634713d82ea;hpb=9cf71357b69da16858d004f1d15be078937e03be;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index e80a92c..74091ca 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -2,9 +2,11 @@
<% formPassword|html>
+ +
@@ -13,6 +15,8 @@
+ +
- - <%ifnull !currentSone> - Profile Avatar - <%else> - Sone is offline - <%/if> - +
+ + <%ifnull !currentSone> + <%ifnull !currentSone.profile.avatar> + <%currentSone.profile.avatar|build-id sone=currentSone|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>