X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=43f9981a38cf8ca53af873b7d22a93abc92101ca;hb=acad4aaa7ddf0104d57654e5b272353d8799adeb;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..43f9981 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,21 +1,135 @@ -
-
<% 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">
+
+ + + + + <%include include/soneMenu.html class=="sone-post-menu" sone=post.sone> +
+ <%if post.loaded> + Avatar Image + <%else> + Avatar Image + <%/if> +
+
+ class="hidden"<%/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>
+
+
+
+
+ + + + +
+
+ + + + +
+
+ · + + · + + · + + <%if ! originalText|match key=parsedText> + · + + <%/if> +
+ · + ↑ +
+ <%ifnull ! currentSone> + · + +
+ + + + + +
+ <%if !post.sone.current> + · +
+ + + + +
+
+ + + + +
+
+ + + + +
+ <%/if> + <%/if> + <%if post.sone.local> + · +
+ + + + +
+ <%/if> +
+ class="hidden"<%/if>> + <%= View.Post.NotDownloaded|l10n|html> +
+
+ <%foreach post.replies reply> + <%include include/viewReply.html> + <%/foreach> + <%ifnull ! currentSone> +
+
+ + + +
+ +
+
+ + +
+
+ <%/if> +
-<%/foreach> -
-
- - - - -