This commit is contained in:
zandercymatics 2024-07-15 12:37:46 -06:00
parent bd55995e1c
commit cd8cc5cfbe
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -146,14 +146,9 @@ This is using a custom implementation fieldset.html (see admin/fieldset.html)
{% block field_other %}
{% if field.field.name == "action_needed_reason_email" %}
<p id="no-email-message" class="{% if original_object.action_needed_reason %}display-none{% endif %}">No email will be sent.</p>
<div id="action-needed-reason-email-readonly" class="readonly textarea-wrapper display-none">
<div id="action_needed_reason_email_readonly" class="dja-readonly-textarea-container padding-1 margin-top-0 padding-top-0 margin-bottom-1 thin-border collapse--dgsimple collapsed">
<label class="max-full" for="action_needed_reason_email_view_more">
<strong>Sent to {% if has_profile_feature_flag %}creator{%else%}submitter{%endif%}</strong>
</label>
<textarea id="action_needed_reason_email_view_more" cols="40" rows="20" class="{% if not original_object.action_needed_reason %}display-none{% endif %}" readonly>
{{ original_object.action_needed_reason_email }}
</textarea>
<div id="action-needed-reason-email-readonly" class="readonly display-none">
<div class="collapse--dgsimple collapsed">
{{ field.field.value|linebreaks }}
</div>
<button type="button" class="collapse-toggle--dgsimple usa-button usa-button--unstyled margin-top-0 margin-bottom-1 margin-left-1">
<span>Show details</span>