support: Improve format of confirmation realm section.

For confirmation objects that do not show realm details, but have
a realm object, format the header information to match what we do
show in the realm details page and show the realm's subdomain.
This commit is contained in:
Lauryn Menard
2025-06-17 19:34:34 +02:00
committed by Tim Abbott
parent 7f0697eccb
commit 466ef9d682

View File

@@ -114,7 +114,8 @@
{% endwith %}
{% elif realm %}
<span class="cloud-label">Cloud realm</span>
<h3>{{ realm.string_id }}</h3>
<h3><img src="{{ realm_icon_url(realm) }}" class="support-realm-icon" /> {{ realm.name }}</h3>
<b>Realm subdomain</b>: {{ realm.subdomain }}
{% else %}
<span class="cloud-label">Cloud realm</span>
<h3>N/A</h3>