X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FviewPost.html;h=52698002d39096f7f793e76f19271dbbcdc206f7;hp=237bfce755002292653aec9c6a4830522671cd6f;hb=179e7da4d8d8a474d0b622d60b5f5d32d6ab4052;hpb=fd30c0adf935d90f496671d9122f5ab0b9043670 diff --git a/src/main/resources/templates/viewPost.html b/src/main/resources/templates/viewPost.html index 237bfce..5269800 100644 --- a/src/main/resources/templates/viewPost.html +++ b/src/main/resources/templates/viewPost.html @@ -1,26 +1,16 @@ -
+<%include include/head.html> -

<%= Page.ViewPost.Page.Title|l10n|insert needle="{sone}" key=post.sone.niceName|html>

+ + -
- -
<% post.text|html>
-
<% post.time|date format="MMM d, yyyy, HH:mm:ss">
-
- <%foreach post.replies reply> -
- -
<% reply.text|html>
-
<% reply.time|date format="MMM d, yyyy, HH:mm:ss">
-
- <%/foreach> -
-
- - - - -
-
+ <%ifnull post.sone> +

<%= Page.ViewPost.Page.TitleUnknownSone|l10n|html>

-
+

<%= Page.ViewPost.Text.UnknownPost|l10n|html>

+ <%else> +

<%= Page.ViewPost.Page.Title|l10n|replace needle=="{sone}" replacement=post.sone.niceName|html>

+ + <%include include/viewPost.html> + <%/if> + +<%include include/tail.html>