mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-14 23:08:07 -04:00
We’re deprecating storing the domain as text on a branding in favour of a database relationship between branding and organisation. We need to do this now in order to remove the validation on these fields (which depends on the data in `domains.yml`)
32 lines
924 B
HTML
32 lines
924 B
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>
|
|
</div>
|
|
{% endfor %}
|
|
</nav>
|
|
|
|
{% endblock %}
|