X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=1f0020c29c105d9cc0008bfd93fecdd748880cea;hb=c8f518f638aa16cf37145561b709d28252de213a;hp=c6ea6a28f96d1c26a270a84d972efa5b76eb725e;hpb=09b9d94dea6b6750a00475ab4e75d378bd76cc8f;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index c6ea6a2..1f0020c 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,21 +1,62 @@ -
-
<% 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>
-
-<%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> +
+
+ + + + + +
+
-<%/foreach> -
-
- - - - -