mirror of
https://github.com/google/nomulus.git
synced 2025-07-25 20:18:34 +02:00
Implement "premium price ack required" checkbox
Implement a checkbox in the "Resources" tab to allow registrars to toggle their "premium price ack required" flag. Tested: Verfied the console functionality by hand. I've started work on an automated test, but we can't actually test those from blaze and the kokoro tests are way too time-consuming to be practical for development, so we're going to have to either find a way to run those locally outside of the normal process or make do without a test. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=190212177
This commit is contained in:
parent
f47965d5f6
commit
785225fc28
22 changed files with 423 additions and 50 deletions
|
@ -266,6 +266,8 @@
|
|||
{template .resources}
|
||||
{@param? driveFolderId: string}
|
||||
{@param technicalDocsUrl: string}
|
||||
{@param premiumPriceAckRequired: bool}
|
||||
{@param readonly: bool}
|
||||
<div id="domain-registrar-resources">
|
||||
<h1>Resources & billing</h1>
|
||||
<p>
|
||||
|
@ -290,6 +292,15 @@
|
|||
{else}
|
||||
<em>Your billing folder is pending allocation.</em>
|
||||
{/if}
|
||||
<h2><img src="/assets/images/folder.png">EPP Settings</h2>
|
||||
<p>Use the 'Edit' button above to switch to enable editing the information
|
||||
below. <i>Updates may require up to 10 minutes to take effect.</i>
|
||||
<form name="item" class="{css('item')} {css('registrar')}">
|
||||
<input type="checkbox" id="premiumPriceAckRequired" name="premiumPriceAckRequired"
|
||||
{if $premiumPriceAckRequired} checked{/if}
|
||||
{if $readonly} disabled{/if}>
|
||||
Require use of fee extension to acknowledge all premium domain prices.
|
||||
</form>
|
||||
</div>
|
||||
{/template}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue