From 684cf181c9852672a14eae7210eadc2051747ec9 Mon Sep 17 00:00:00 2001 From: CocoByte Date: Wed, 4 Sep 2024 13:52:30 -0600 Subject: [PATCH 1/3] fixed sort button issue (thank you Rachid and Zander for the peer programming) --- src/registrar/templates/includes/domains_table.html | 2 +- src/registrar/views/domains_json.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/registrar/templates/includes/domains_table.html b/src/registrar/templates/includes/domains_table.html index 48de2d98c..4112906eb 100644 --- a/src/registrar/templates/includes/domains_table.html +++ b/src/registrar/templates/includes/domains_table.html @@ -158,7 +158,7 @@ Expires Status {% if portfolio and has_view_suborganization %} - Suborganization + Suborganization {% endif %} Date: Wed, 4 Sep 2024 14:23:34 -0600 Subject: [PATCH 2/3] (missed a file in last push) --- src/registrar/assets/js/get-gov.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registrar/assets/js/get-gov.js b/src/registrar/assets/js/get-gov.js index 70659b009..3913a3360 100644 --- a/src/registrar/assets/js/get-gov.js +++ b/src/registrar/assets/js/get-gov.js @@ -1220,7 +1220,7 @@ document.addEventListener('DOMContentLoaded', function() { const expirationDateFormatted = expirationDate ? expirationDate.toLocaleDateString('en-US', options) : ''; const expirationDateSortValue = expirationDate ? expirationDate.getTime() : ''; const actionUrl = domain.action_url; - const suborganization = domain.suborganization ? domain.suborganization : ''; + const suborganization = domain.domain_info__sub_organization ? domain.domain_info__sub_organization : ''; const row = document.createElement('tr'); From ea7544059ee84a48ab4d0fae99157874a4159d2c Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Fri, 6 Sep 2024 08:36:23 -0600 Subject: [PATCH 3/3] Comment out breadcrumb bar Not needed in this PR --- .../templates/domain_request_form.html | 4 ++- .../templates/domain_request_status.html | 31 ++++++++----------- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/src/registrar/templates/domain_request_form.html b/src/registrar/templates/domain_request_form.html index 486cacfaa..9228e51db 100644 --- a/src/registrar/templates/domain_request_form.html +++ b/src/registrar/templates/domain_request_form.html @@ -16,6 +16,8 @@ Previous step + {% comment %} + TODO: uncomment in #2596 {% else %} {% if portfolio %} {% url 'domain-requests' as url_2 %} @@ -33,7 +35,7 @@ - {% endif %} + {% endif %} {% endcomment %} {% endif %} {% block form_messages %} diff --git a/src/registrar/templates/domain_request_status.html b/src/registrar/templates/domain_request_status.html index c2cb45ede..f4defc14e 100644 --- a/src/registrar/templates/domain_request_status.html +++ b/src/registrar/templates/domain_request_status.html @@ -9,15 +9,9 @@
{% comment %} - The back button should redirect to the domain request page if we are in the portfolio view. - Otherwise, lets just redirect back to home. - {% endcomment %} + TODO: Uncomment in #2596 {% if portfolio %} {% url 'domain-requests' as url %} - {% else %} - {% url 'home' as url %} - {% endif %} - {% if portfolio %} - {% else %} - - - -

- Back to manage your domains -

-
- {% endif %} + {% else %}{% endcomment %} + {% url 'home' as url %} + + + +

+ Back to manage your domains +

+
+ {% comment %} {% endif %}{% endcomment %}

Domain request for {{ DomainRequest.requested_domain.name }}