X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fresources%2Ftemplates%2FviewSone.html;h=f915628ce90104737f047f99e5e61474d3b3b718;hb=543601314f9213c4d4b5c8ae1177cdb2ab94a854;hp=db6b2dd0aa0cddaf376561ec87a7c2f6f5b68937;hpb=4c63e5f4c4b0598e3c61bfaa09619923b95a8504;p=Sone.git diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index db6b2dd..f915628 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -1,53 +1,92 @@ -
<%= 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> -