X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FcreateSone.html;h=30ce0f7da363f339d01c78137bfdf1a97d1c57f9;hb=f7431bf61b6d68d9f14da462396741695b555b52;hp=c98c2ee797b3a72b9af641e2a852aaf1bb63764b;hpb=76b706d1afd740f0674fa5c6ede748e21bed197f;p=Sone.git diff --git a/src/main/resources/templates/include/createSone.html b/src/main/resources/templates/include/createSone.html index c98c2ee..30ce0f7 100644 --- a/src/main/resources/templates/include/createSone.html +++ b/src/main/resources/templates/include/createSone.html @@ -1,37 +1,30 @@ - +

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

-
- - class="error"<%/if>> - - - -
- - -
-
- -
- class="error"<%/if>> - - - - class="error"<%/if>> - - - -
- -
- +
+ + + <%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>