X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=8b7ccb8dd802288469ab4d5e1cf3bba9aa114f9f;hb=400a459052ed5a102142944fe9386c9d25438be4;hp=adeb92ac08b9aee1711031b6a13150aff98c012f;hpb=392f9808f16132b2827114466985df704f6e47e5;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index adeb92a..8b7ccb8 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,32 +1,133 @@ -
-
- -
<% post.text|html>
+
+ + + +
+ <%if post.loaded> + Avatar Image + <%else> + Avatar Image + <%/if>
- -
- <%foreach post.replies reply> -
-
- -
<% reply.text|html>
-
-
-
<% reply.time|date format="MMM d, yyyy, HH:mm:ss">
- <%if reply.sone.current><%/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>
+
+
+
+
+ + + + +
+
+ + + + +
- <%/foreach> -
-
- - - - -
+ · + + · + + · + + <%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>