X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FcreateSone.html;h=86543cc5c13332a05cf36c06507f83f1cf48e072;hb=680e37c46752febf555a04334e98f1017fdfca17;hp=cb7e8b5d057c0f4d1b5ac1923dd5eb14b6b0279d;hpb=2c70c7179fea1e0d71f8e2132b133cb5071b1e5d;p=Sone.git diff --git a/src/main/resources/templates/include/createSone.html b/src/main/resources/templates/include/createSone.html index cb7e8b5..86543cc 100644 --- a/src/main/resources/templates/include/createSone.html +++ b/src/main/resources/templates/include/createSone.html @@ -1,52 +1,30 @@ - + <%if errorNoIdentity>
<%= View.CreateSone.Text.Error.NoIdentity|l10n|html>
<%/if> - + <%foreach identitiesWithoutSone identity> + <%first> + + + <%/last> + <%/foreach> + + +<%else> + <%if !sones.empty> +<%= View.CreateSone.Text.NoNonSoneIdentities|l10n|html|replace needle=="{link}" replacement==''|replace needle=="{/link}" replacement=="">
+ <%else> +<%= View.CreateSone.Text.NoIdentities|l10n|html|replace needle=="{link}" replacement==''|replace needle=="{/link}" replacement=="">
+ <%/if> +<%/if>