mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-12 14:22:37 -04:00
This is a platform admin page which lists all letter brands and their domain. Once the page to edit a letter brand has been created, each brand will link to its edit page, but for now this is just a list of brand names and domains.
39 lines
1.1 KiB
HTML
39 lines
1.1 KiB
HTML
{% extends "views/platform-admin/_base_template.html" %}
|
||
{% from "components/live-search.html" import live_search %}
|
||
|
||
{% block per_page_title %}
|
||
Email branding
|
||
{% endblock %}
|
||
|
||
{% block platform_admin_content %}
|
||
|
||
<div class="grid-row bottom-gutter-2-3">
|
||
<div class="column-two-thirds">
|
||
<h1 class="heading-large">Email branding</h1>
|
||
</div>
|
||
<div class="column-one-third">
|
||
<a href="{{ url_for('.create_email_branding') }}" class="button align-with-heading">Add new brand</a>
|
||
</div>
|
||
</div>
|
||
{{ live_search(target_selector='.email-brand', show=True, form=search_form) }}
|
||
<nav>
|
||
{% for brand in email_brandings %}
|
||
<div class="email-brand">
|
||
<div class="message-name">
|
||
<a href="{{ url_for('.update_email_branding', branding_id=brand.id) }}">
|
||
{{ brand.name or 'Unnamed' }}
|
||
</a>
|
||
</div>
|
||
<p class="message-type">
|
||
{% if brand.domain %}
|
||
Default for {{ brand.domain }}
|
||
{% else %}
|
||
–
|
||
{% endif %}
|
||
</p>
|
||
</div>
|
||
{% endfor %}
|
||
</nav>
|
||
|
||
{% endblock %}
|