X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FcreateSone.html;h=30ce0f7da363f339d01c78137bfdf1a97d1c57f9;hb=2c5d39efa620a564f9fe12f754d3f5bb3adf37fe;hp=d812b1aab791b1eae18570cbed7f521e7a409fcb;hpb=3d3d06d95ff53fdf16cce4331a0cdd7c77427fc4;p=Sone.git diff --git a/src/main/resources/templates/include/createSone.html b/src/main/resources/templates/include/createSone.html index d812b1a..30ce0f7 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>