X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4600d458d4541122d44c504311105c9378e28b84;hb=9bb096a81834b63f5574c7f7231ad35271afc058;hp=1f0020c29c105d9cc0008bfd93fecdd748880cea;hpb=c8f518f638aa16cf37145561b709d28252de213a;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 1f0020c..4600d45 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,62 +1,122 @@ -
-
- -
<% post.text|html>
+
+ + + +
+ Avatar Image
-
- - - <%ifnull ! currentSone> -
- - - - -
-
- - - - -
- <%/if> - <%if post.sone.current> -
- - - - -
- <%/if> -
-
- <%foreach post.replies reply> -
-
- -
<% reply.text|html>
-
-
-
<% reply.time|date format="MMM d, yyyy, HH:mm:ss">
- <%if reply.sone.current> -
- - - - -
- <%/if> -
+
+
+ + <%ifnull !post.recipient> + → + <%ifnull post.recipient.identity> + + <%else> + + <%/if> + <%/if> + <% post.text|html|store key=originalText text=true> + <% post.text|parse sone=post.sone|store key=parsedText text=true> +
<% originalText>
+
<% parsedText>
+
+
+
+
+ + + + +
+
+ + + + +
- <%/foreach> -
-
- - - - - -
+ · + + <%if ! originalText|match key=parsedText> + · + + <%/if> +
+ · + ↑ +
+ <%ifnull ! currentSone> + · + +
+ + + + + +
+ <%if !post.sone.current> + · +
+ + + + +
+
+ + + + +
+
+ + + + +
+ <%/if> + <%/if> + <%if post.sone.local> + · +
+ + + + +
+ <%/if> +
+
+ <%foreach post.replies reply> + <%include include/viewReply.html> + <%/foreach> + <%ifnull ! currentSone> +
+
+ + + +
+ +
+
+ + +
+
+ <%/if>