This commit is contained in:
zandercymatics 2024-04-24 14:06:13 -06:00
parent 0daca56699
commit d32d94c548
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 30 additions and 0 deletions

View file

@ -617,3 +617,11 @@ address.dja-address-contact-list {
.usa-button__small-text {
font-size: small;
}
p.django-admin__model-description{
color: var(--primary);
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}

View file

@ -2,6 +2,28 @@
{% block content_title %}
<h1>{{ title }}</h1>
{# Adds a model description #}
{# TODO - this should be stored in context or something, not here. Make this a function. #}
{% if opts.model_name == 'domainrequest' %}
<p class="django-admin__model-description text-normal">
This table contains all domain requests that have been started within the registrar and the status of those requests.
Updating values here will immediately update the corresponding values that users see in the registrar.
Once a domain request has been adjudicated, the details of that request should not be modified.
To update attributes (like an organizations name) after a domains approval, go to <a href="#">Domains</a>.
Similar fields display on each Domain page, but edits made there will not affect the corresponding domain request.
</p>
{% elif opts.model_name == 'contact' %}
<p class="django-admin__model-description text-normal">
Contacts include anyone who has access to the registrar (known as “users”) and anyone listed in a domain request,
including other employees and authorizing officials.
Only contacts who have access to the registrar will have a corresponding record within the <a href="#">Users</a> table.
<br>
Updating someones contact information here will not affect that persons Login.gov information.
</p>
{% elif opts.model_name == 'domaininformation' %}
{% endif %}
<h2>
{{ cl.result_count }}
{% if cl.get_ordering_field_columns %}