mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Tidy up layout of letter contact blocks
Linebreaks are an important part of the letter contact block, and make it easier to read. Bold text works for short pieces of info like email addresses or phone numbers, but is too heavy for the letter contact blocks because they tend to be longer.
This commit is contained in:
@@ -27,18 +27,16 @@
|
||||
{% endif %}
|
||||
{% for item in letter_contact_details %}
|
||||
<div class="user-list-item">
|
||||
<h3>
|
||||
<span class="heading-small">{{ item.contact_block }}</span> <span class="hint">
|
||||
{%- if item.is_default -%}
|
||||
(default)
|
||||
{% endif %}
|
||||
</span>
|
||||
</h3>
|
||||
<ul class="tick-cross-list">
|
||||
<li class="tick-cross-list-edit-link">
|
||||
<a href="{{ url_for('.service_edit_letter_contact', service_id =current_service.id, letter_contact_id = item.id) }}">Change</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
{{ item.contact_block | nl2br | safe }}
|
||||
</p>
|
||||
<p class="hint">
|
||||
{%- if item.is_default -%}
|
||||
(default)
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<a class="user-list-edit-link" href="{{ url_for('.service_edit_letter_contact', service_id =current_service.id, letter_contact_id = item.id) }}">Change</a>
|
||||
{% if letter_contact_details|length > 1 %}
|
||||
{{ api_key(item.id, thing="ID") }}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user