mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 04:28:39 +02:00
remove old code
This commit is contained in:
parent
53b0c2da7c
commit
07fd477b3b
4 changed files with 9 additions and 8 deletions
|
@ -245,7 +245,6 @@ class Domain(TimeStampedModel, DomainHelper):
|
||||||
is called in the validate function on the request/domain page
|
is called in the validate function on the request/domain page
|
||||||
|
|
||||||
throws- RegistryError or InvalidDomainError"""
|
throws- RegistryError or InvalidDomainError"""
|
||||||
return True
|
|
||||||
if not cls.string_could_be_domain(domain):
|
if not cls.string_could_be_domain(domain):
|
||||||
logger.warning("Not a valid domain: %s" % str(domain))
|
logger.warning("Not a valid domain: %s" % str(domain))
|
||||||
# throw invalid domain error so that it can be caught in
|
# throw invalid domain error so that it can be caught in
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
|
|
||||||
<fieldset class="usa-fieldset margin-top-1 dotgov-domain-form" id="form-container">
|
<fieldset class="usa-fieldset margin-top-1 dotgov-domain-form" id="form-container">
|
||||||
<legend>
|
<legend>
|
||||||
<h2 id="alternative-domains">Alternative domains (optional)</h2>
|
<h2 id="alternative-domains-title">Alternative domains (optional)</h2>
|
||||||
</legend>
|
</legend>
|
||||||
|
|
||||||
<p id="alt_domain_instructions" class="margin-top-05">Are there other domains you’d like if we can’t give
|
<p id="alt_domain_instructions" class="margin-top-05">Are there other domains you’d like if we can’t give
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
||||||
<div class="usa-sr-only" id="alternative-domains__add-another-alternative">Add another alternative domain</div>
|
<div class="usa-sr-only" id="alternative-domains__add-another-alternative">Add another alternative domain</div>
|
||||||
<button aria-labelledby="alternative-domains" aria-describedby="alternative-domains__add-another-alternative" type="button" value="save" class="usa-button usa-button--unstyled usa-button--with-icon" id="add-form">
|
<button aria-labelledby="alternative-domains-title" aria-describedby="alternative-domains__add-another-alternative" type="button" value="save" class="usa-button usa-button--unstyled usa-button--with-icon" id="add-form">
|
||||||
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24" height="24">
|
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24" height="24">
|
||||||
<use xlink:href="{%static 'img/sprite.svg'%}#add_circle"></use>
|
<use xlink:href="{%static 'img/sprite.svg'%}#add_circle"></use>
|
||||||
</svg><span class="margin-left-05">Add another alternative</span>
|
</svg><span class="margin-left-05">Add another alternative</span>
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
type="button"
|
type="button"
|
||||||
class="usa-button usa-button--outline"
|
class="usa-button usa-button--outline"
|
||||||
validate-for="{{ forms.1.requested_domain.auto_id }}"
|
validate-for="{{ forms.1.requested_domain.auto_id }}"
|
||||||
aria-labelledby="alternative-domains"
|
aria-labelledby="alternative-domains-title"
|
||||||
aria-describedby="alternative-domains__check-availability"
|
aria-describedby="alternative-domains__check-availability"
|
||||||
>Check availability</button>
|
>Check availability</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,9 +18,10 @@
|
||||||
<h1>Manage your domains</h1>
|
<h1>Manage your domains</h1>
|
||||||
|
|
||||||
<p class="margin-top-4">
|
<p class="margin-top-4">
|
||||||
<button data-href="{% url 'domain-request:start' %}" class="usa-button use-button-as-link">
|
<a href="{% url 'domain-request:start' %}" class="usa-button"
|
||||||
|
>
|
||||||
Start a new domain request
|
Start a new domain request
|
||||||
</button>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% include "includes/domains_table.html" with user_domain_count=user_domain_count %}
|
{% include "includes/domains_table.html" with user_domain_count=user_domain_count %}
|
||||||
|
|
|
@ -26,9 +26,10 @@
|
||||||
<div class="mobile:grid-col-12 tablet:grid-col-6">
|
<div class="mobile:grid-col-12 tablet:grid-col-6">
|
||||||
|
|
||||||
<p class="float-right-tablet tablet:margin-y-0">
|
<p class="float-right-tablet tablet:margin-y-0">
|
||||||
<button data-href="{% url 'domain-request:start' %}" class="usa-button use-button-as-link">
|
<a href="{% url 'domain-request:start' %}" class="usa-button"
|
||||||
|
>
|
||||||
Start a new domain request
|
Start a new domain request
|
||||||
</button>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue