X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FviewSone.html;h=1054e0177f4f7368997bd3ea1e925351c81c18bd;hb=11efd0534187a67b10448fc17d99120096ee2b28;hp=71fba4f0897b7fee6a0ffb8d59ac75c648f90cb9;hpb=baf579fcb6b34aac5b6411579ee1ecf5fa29bd50;p=Sone.git diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index 71fba4f..1054e01 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -1,35 +1,65 @@ <%include include/head.html> - +
+ - <%ifnull sone.name> + <%ifnull sone><%= Page.ViewSone.NoSone.Description|l10n|insert needle="{sone}" key=sone.id|html>
+ + <%elseifnull sone.name> + +<%= Page.ViewSone.UnknownSone.Description|l10n|html>
<%else> - <%include include/viewSone.html> + <%if ! sone.current> + <%include include/viewSone.html> + <%/if> + +<%= Page.ViewSone.WriteAMessage|l10n|html>
+ + + <%/if> + +