X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=c3ad07a91beca6e4cb8dec93be38eea5f8bd04cc;hb=4e34c48253d399f44af1adac3b71207ec50101fe;hp=5d442740e3fc29bc33e04945a696509457cd0c95;hpb=2568fb2f90b630cae8aaf5163eebd11a02b5aedd;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 5d44274..c3ad07a 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,21 +1,64 @@ -
-
<% post.sone.niceName|html>
-
<% post.text|html>
-
<% post.time|date format="MMM d, yyyy, HH:mm:ss">
- <%if post.sone.isCurrent>
<%= View.Post.DeleteLink|l10n|html>
<%/if> -
-<%foreach post.replies reply> -
-
<% reply.sone.niceName|html>
-
<% reply.text|html>
-
<% reply.time|date format="MMM d, yyyy, HH:mm:ss">
+
+
+ +
<% post.text|html>
+
+
+ + + <%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> +
+
+ <%/foreach> + <%ifnull ! currentSone> +
+
+ + + + + +
+
+ <%/if>
-<%/foreach> -
-
- - - - -