feat: add configurable help text to list pages

Resolves #103
This commit is contained in:
James Graham committed 2021-03-18 17:26:59 +00:00
1 parent 98e9148998
commit 1de4f741b8
3 files changed
+36 -13

No files matched your search

@@ -14,6 +14,14 @@
<a class="btn btn-success"
href="{% url 'people:organisation.create' %}">New Organisation</a>
{% with config.ORGANISATION_LIST_HELP as help_text %}
{% if help_text %}
<div class="alert alert-info mt-3 pb-0">
{{ help_text|linebreaks }}
</div>
{% endif %}
{% endwith %}
<table class="table table-borderless">
<tbody>
{% for country, organisations in orgs_by_country.items %}