From 1abcb276363cd1839133eb3d0f743ef922cb538f Mon Sep 17 00:00:00 2001 From: igorkorenfeld Date: Thu, 23 Mar 2023 16:23:59 -0400 Subject: [PATCH 1/2] Add domain name, remove back from extended templates Signed-off-by: igorkorenfeld <52677065+igorkorenfeld@users.noreply.github.com> --- src/registrar/templates/domain_base.html | 19 ++++++++++++++----- src/registrar/templates/domain_users.html | 7 ------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/registrar/templates/domain_base.html b/src/registrar/templates/domain_base.html index 3dcb79bb2..8613c66bb 100644 --- a/src/registrar/templates/domain_base.html +++ b/src/registrar/templates/domain_base.html @@ -5,6 +5,13 @@ {% block content %}
+
+

+ {{ domain.name }} +

+
{% include 'domain_sidebar.html' %} @@ -22,14 +29,16 @@
{% endfor %} {% endif %} - - {% block domain_content %} -

+ - Back to manage your domains -

+

+ Back to manage your domains +

+ + + {% block domain_content %}

Domain {{ domain.name }}

diff --git a/src/registrar/templates/domain_users.html b/src/registrar/templates/domain_users.html index a8091fa1c..d242b9c68 100644 --- a/src/registrar/templates/domain_users.html +++ b/src/registrar/templates/domain_users.html @@ -4,13 +4,6 @@ {% block title %}User management{% endblock %} {% block domain_content %} -

- - Back to manage your domains -

-

User management

{% if domain.permissions %} From 26a49a7db497e88b08b55478b4aaf08043430ac7 Mon Sep 17 00:00:00 2001 From: igorkorenfeld Date: Thu, 23 Mar 2023 16:56:48 -0400 Subject: [PATCH 2/2] Remove word domain from h1, allow domains names to wrap Signed-off-by: igorkorenfeld <52677065+igorkorenfeld@users.noreply.github.com> --- .../assets/sass/_theme/_uswds-theme-custom-styles.scss | 3 +++ src/registrar/templates/domain_base.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/registrar/assets/sass/_theme/_uswds-theme-custom-styles.scss b/src/registrar/assets/sass/_theme/_uswds-theme-custom-styles.scss index 8514b2ab8..806cacbd3 100644 --- a/src/registrar/assets/sass/_theme/_uswds-theme-custom-styles.scss +++ b/src/registrar/assets/sass/_theme/_uswds-theme-custom-styles.scss @@ -325,6 +325,9 @@ section.dashboard { } } +.break-word { + word-break: break-word; +} #wrapper { padding-top: units(3); diff --git a/src/registrar/templates/domain_base.html b/src/registrar/templates/domain_base.html index 8613c66bb..5a6bf75ae 100644 --- a/src/registrar/templates/domain_base.html +++ b/src/registrar/templates/domain_base.html @@ -40,7 +40,7 @@ {% block domain_content %} -

Domain {{ domain.name }}

+

{{ domain.name }}

{% endblock %} {# domain_content #}