1
0
mirror of https://github.com/google/nomulus synced 2026-06-09 16:33:02 +00:00

Include the user's registry lock email in the lock/unlock modal (#696)

* Include the user's registry lock email in the lock/unlock modal
This commit is contained in:
gbrodman
2020-07-20 12:01:34 -04:00
committed by GitHub
parent f7a67b7676
commit ce35f6bc93
4 changed files with 7 additions and 3 deletions

View File

@@ -115,12 +115,12 @@
{template .confirmModal}
{@param isLock: bool}
{@param isAdmin: bool}
{@param emailAddress: string}
{@param? domain: string|null}
<div id="lock-confirm-modal" class="{css('lock-confirm-modal')}">
<div class="modal-content">
<p>Are you sure you want to {if $isLock}lock a domain{else}unlock the domain {$domain}{/if}?
We will send an email to the email address on file to confirm the {if not $isLock}un{/if}
lock.</p>
We will send an email to {$emailAddress} to confirm the {if not $isLock}un{/if}lock.</p>
<label for="domain-to-lock">Domain: </label>
<input id="domain-lock-input-value"
{if isNonnull($domain)}