mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-11 05:43:44 -05:00
Utils is better structured to handle the logic of what thing to show for what template type, especially now that what we show for different template types in different contexts has diverged significantly. See https://github.com/alphagov/notifications-utils/commit/6b39c1a for an example of this code moving into utils Depends on and implements: https://github.com/alphagov/notifications-utils/pull/84 The main reason for doing this is to get Paul’s fix for the misaligned CSV columns: https://github.com/alphagov/notifications-utils/pull/87
21 lines
398 B
HTML
21 lines
398 B
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/api-key.html" import api_key %}
|
||
|
||
{% block page_title %}
|
||
API info – GOV.UK Notify
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<h1 class="heading-large">
|
||
API info
|
||
</h1>
|
||
|
||
{{ template.rendered }}
|
||
|
||
<div class="bottom-gutter">
|
||
{{ api_key(template.id, name="Template ID", thing='template ID') }}
|
||
</div>
|
||
|
||
{% endblock %}
|