X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FcreateSone.html;h=86543cc5c13332a05cf36c06507f83f1cf48e072;hb=31fb0e9754cad9c3bbab88ee728c7ca46b53e6ef;hp=f2777c37feabe7bd340fb847a7c53370b8634bbc;hpb=bc67a0f3537a40197fac4f99a9e9ec970a686fdb;p=Sone.git diff --git a/src/main/resources/templates/include/createSone.html b/src/main/resources/templates/include/createSone.html index f2777c3..86543cc 100644 --- a/src/main/resources/templates/include/createSone.html +++ b/src/main/resources/templates/include/createSone.html @@ -1,57 +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>