mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 02:08:26 -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.
37 lines
997 B
HTML
37 lines
997 B
HTML
{% extends "views/platform-admin/_base_template.html" %}
|
||
{% from "components/live-search.html" import live_search %}
|
||
|
||
{% block per_page_title %}
|
||
Letter branding
|
||
{% endblock %}
|
||
|
||
{% block platform_admin_content %}
|
||
|
||
<div class="grid-row bottom-gutter-2-3">
|
||
<div class="column-two-thirds">
|
||
<h1 class="heading-large">Letter branding</h1>
|
||
</div>
|
||
<div class="column-one-third">
|
||
<a href="{{ url_for('.create_letter_branding') }}" class="button align-with-heading">Add new brand</a>
|
||
</div>
|
||
</div>
|
||
{{ live_search(target_selector='.letter-brand', show=True, form=search_form) }}
|
||
<nav>
|
||
{% for brand in letter_brandings %}
|
||
<div class="letter-brand">
|
||
<div class="message-name">
|
||
{{ brand.name }}
|
||
</div>
|
||
<p class="message-type">
|
||
{% if brand.domain %}
|
||
Default for {{ brand.domain }}
|
||
{% else %}
|
||
–
|
||
{% endif %}
|
||
</p>
|
||
</div>
|
||
{% endfor %}
|
||
</nav>
|
||
|
||
{% endblock %}
|