Files
notifications-admin/app/templates/views/email-branding/select-branding.html
Chris Hill-Scott 470b8a2912 Remove domains from branding forms
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`)
2019-04-12 15:23:07 +01:00

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 %}