Merge pull request #484 from cisagov/ik/add-domain-name

Domain name and back link
This commit is contained in:
Igor Korenfeld 2023-03-24 13:01:17 -04:00 committed by GitHub
commit e8b7bfb9c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 13 deletions

View file

@ -325,6 +325,9 @@ section.dashboard {
} }
} }
.break-word {
word-break: break-word;
}
#wrapper { #wrapper {
padding-top: units(3); padding-top: units(3);

View file

@ -5,6 +5,13 @@
{% block content %} {% block content %}
<div class="grid-container"> <div class="grid-container">
<div class="grid-row">
<p class="font-body-sm margin-top-0 margin-bottom-2
text-primary-darker text-semibold"
>
{{ domain.name }}
</p>
</div>
<div class="grid-row grid-gap"> <div class="grid-row grid-gap">
<div class="grid-col-3"> <div class="grid-col-3">
{% include 'domain_sidebar.html' %} {% include 'domain_sidebar.html' %}
@ -22,16 +29,18 @@
</div> </div>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
<a href="{% url 'home' %}" class="breadcrumb__back">
{% block domain_content %}
<p><a href="{% url 'home' %}">
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img"> <svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
<use xlink:href="{% static 'img/sprite.svg' %}#arrow_back"></use> <use xlink:href="{% static 'img/sprite.svg' %}#arrow_back"></use>
</svg> </svg>
Back to manage your domains <p class="margin-left-05 margin-top-0 margin-bottom-0">
</a></p> Back to manage your domains
</p>
</a>
<h1>Domain {{ domain.name }}</h1> {% block domain_content %}
<h1 class="break-word">{{ domain.name }}</h1>
{% endblock %} {# domain_content #} {% endblock %} {# domain_content #}

View file

@ -4,13 +4,6 @@
{% block title %}User management{% endblock %} {% block title %}User management{% endblock %}
{% block domain_content %} {% block domain_content %}
<p><a href="{% url 'home' %}">
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
<use xlink:href="{% static 'img/sprite.svg' %}#arrow_back"></use>
</svg>
Back to manage your domains
</a></p>
<h1>User management</h1> <h1>User management</h1>
{% if domain.permissions %} {% if domain.permissions %}