X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=1d938d15d6af5a1fb42673d0b0e97e34be7809fd;hb=cb6009098271b6ded886490c125857c27e22dc06;hp=f3d46966c0425255e77b0da55e5ddad291d17c8e;hpb=fbc4cd017e9453094a63f92a87951caa31d8de71;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index f3d4696..1d938d1 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,24 +1,34 @@ +
+
Avatar Image
-
<% post.text|html>
+ <%ifnull !post.recipient> + → + <%ifnull post.recipient.identity> + + <%else> + + <%/if> + <%/if> +
<% post.text>
-
+
⬆
<%ifnull ! currentSone> -
+
-
+ @@ -27,7 +37,7 @@
<%/if> <%if post.sone.current> -
+ @@ -37,45 +47,7 @@
<%foreach post.replies reply> -
-
- Avatar Image -
-
-
- -
<% reply.text|html>
-
-
-
<% reply.time|date format="MMM d, yyyy, HH:mm:ss">
-
⬆
- <%ifnull ! currentSone> - - - - - - - -
- - - - - -
- <%/if> - <%if reply.sone.current> -
- - - - -
- <%/if> -
-
-
+ <%include include/viewReply.html> <%/foreach> <%ifnull ! currentSone>