<% post.text|html>
- <% post.time|date format="MMM d, yyyy, HH:mm:ss">
- X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FviewSone.html;h=d2a8f6e2fc0eb592a95c21f4ee19431e24df3d4d;hb=bf6507766c997f89bb2415e837fc11ba01829433;hp=ab87a982dff8fc2d8e80df796f8e003ca7fe18ff;hpb=7dc1dfc0855fd0880a2411271485180bdcf09307;p=Sone.git diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index ab87a98..d2a8f6e 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -1,37 +1,78 @@ -
<%= Page.ViewSone.NoSone.Description|l10n|replace needle="{sone}" replacementKey=sone.id|html>
+ + <%elseifnull sone.name> + +<%= Page.ViewSone.UnknownSone.Description|l10n|html>
<%else> - <%= Page.ViewSone.Page.TitleWithSone|l10n|insert needle="{sone}" key=sone.niceName|html> + <%if ! sone.current> + <%include include/viewSone.html> + <%/if> + +<%= Page.ViewSone.WriteAMessage|l10n|html>
+ + <%/if> <%/if> +