X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fresources%2Ftemplates%2FviewSone.html;h=066adef3befe58a03e3e6536c5d1b5bd7b3761c7;hb=da59d460d93e6d15af2e233415d5c6b945cb51cc;hp=21bd83caca5ca8484547ff8d27b2550234d1bbed;hpb=e6f85fc6d33b182351e8fff6d5d67bd83c70b7d8;p=Sone.git diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index 21bd83c..066adef 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -1,29 +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> + +