diff options
-rw-r--r-- | templates/web/default/admin/body-form.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/web/default/admin/body-form.html b/templates/web/default/admin/body-form.html index 039d83ae2..aa3c1c9da 100644 --- a/templates/web/default/admin/body-form.html +++ b/templates/web/default/admin/body-form.html @@ -15,6 +15,16 @@ </select> </p> + [% IF c.config.SHOW_ADMIN_HINTS AND areas.size == 0 %] + [% IF c.config.MAPIT_URL AND (NOT c.config.MAPIT_TYPES OR c.config.MAPIT_TYPES.size==O) %] + <p class="fms-admin-warning"> + <code>MAPIT_URL</code> is set (<code>[% c.config.MAPIT_URL %]</code>) but no <code>MAPIT_TYPES</code>:<br> + this is probably why "area covered" is empty (below).<br> + Maybe add some <code>MAPIT_TYPES</code> to your config file? + </p> + [% END %] + [% END %] + <p> <label for="area_ids">[% loc('Area covered') %]</label> <select name="area_ids" id="area_ids" multiple> |