X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=43f9981a38cf8ca53af873b7d22a93abc92101ca;hb=acad4aaa7ddf0104d57654e5b272353d8799adeb;hp=74e3450c7a18f8b525e1cdef202bfa7592b3bc76;hpb=1c39d47c0f0d91ce8c355cbb0a0ae7f244f16328;p=Sone.git
diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html
index 74e3450..43f9981 100644
--- a/src/main/resources/templates/include/viewPost.html
+++ b/src/main/resources/templates/include/viewPost.html
@@ -1,12 +1,18 @@
-
+
<% post.time|html>
<% post.sone.id|html>
-
-
+
<% post.sone.local>
+ <%include include/soneMenu.html class=="sone-post-menu" sone=post.sone>
+
+ <%if post.loaded>
+
+ <%else>
+
+ <%/if>
-
+
class="hidden"<%/if>>
<%ifnull !post.recipient>
â
@@ -16,10 +22,36 @@
<%/if>
<%/if>
-
<% post.text|parse sone=post.sone>
+ <% 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>
·
â<% post.likes.size>
@@ -72,6 +104,9 @@
<%/if>
+
class="hidden"<%/if>>
+ <%= View.Post.NotDownloaded|l10n|html>
+
<%foreach post.replies reply>
<%include include/viewReply.html>
@@ -84,7 +119,7 @@