@(tpi: debiki.SiteTpi, origNonceBack: String, oldEmailAddr: String, oldEmailVerified: Boolean, oldUsername: String, createdOnDate: String, newIdentityNameOrEmailOrId: String, idpName: String, linkSecret: String) @css = @{(""" input[type="text"] { width: 440px; max-width: 90%; padding: 5px; } """)} @youHaveOrThereIs = @{ if (oldEmailVerified) "You already have" else "There is already" } @yesClass = @{ if (oldEmailVerified) "btn-primary" else "btn-default" } @noClass = @{ if (!oldEmailVerified) "btn-primary" else "btn-default" } @views.html.createsite.main(tpi, css = css) {
@youHaveOrThereIs an account here with email address @oldEmailAddr, username @oldUsername, created on @createdOnDate.
@* [act_fx_atk] *@ @if(!oldEmailVerified) {BUT that other account has not verified its email address!
Maybe someone else, not you, created it?
Are you sure it's your account? If it's not yours, click No below, and contact the site admins and tell them someone else has created an account with your email address.
}Now you're logging in via: @idpName, as user @newIdentityNameOrEmailOrId, with the same email address.
Do you want to link your @idpName account @newIdentityNameOrEmailOrId
to the account you already have here with username @oldUsername?
Then you'll be able to login here, via @idpName.