X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FcreateSone.html;h=86543cc5c13332a05cf36c06507f83f1cf48e072;hp=318effe0b49ab43a96632310730ab9580e6479f3;hb=0f7a91f4fa689a4084d7db5987a534b4b4fc3866;hpb=8b8fb600cdf97c3470b2471d917b39dd0c9cff14 diff --git a/src/main/resources/templates/include/createSone.html b/src/main/resources/templates/include/createSone.html index 318effe..86543cc 100644 --- a/src/main/resources/templates/include/createSone.html +++ b/src/main/resources/templates/include/createSone.html @@ -1,25 +1,30 @@ -
- - class="error"<%/if>> - - - -
- - -
-
- -
- class="error"<%/if>> - - - - class="error"<%/if>> - - - -
- -
- +<%if !identitiesWithoutSone.empty> +

<%= Page.Login.CreateSone.Title|l10n|html>

+ +

<%= View.CreateSone.Text.WotIdentityRequired|l10n|html|replace needle=="{link}" replacement==''|replace needle=="{/link}" replacement==''>

+ +
+ + + <%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>