diff options
author | Dave Whiteland <dave@mysociety.org> | 2013-09-16 00:06:52 +0100 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2013-09-16 00:06:52 +0100 |
commit | c8a06f8b1dec400ed68e609fbeba0f72c17f42e7 (patch) | |
tree | 78dcdbc2ee2f44bc13e82c415d6c64f996372502 | |
parent | b37857e455ee012e65c333a5838d27bf55c8099e (diff) |
add warning in admin if body has no area covered
closes #565
-rw-r--r-- | templates/web/default/admin/body.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/web/default/admin/body.html b/templates/web/default/admin/body.html index 9cb9125a6..5256d3313 100644 --- a/templates/web/default/admin/body.html +++ b/templates/web/default/admin/body.html @@ -28,6 +28,16 @@ <p class="error">Do not give these out except to people at the council.</p> [% END %] +[% IF body.areas.size == 0 %] + <p class="fms-admin-warning"> + [% loc("This body covers no area. This means that it has no jurisdiction over problems reported <em>at any location</em>. + Consequently, none of its categories will appear in the drop-down category menu when users report problems. + Currently, users <strong>cannot report problems to this body</strong>.") %] + <br> + [% loc("Fix this by choosing an <strong>area covered</strong> in the <em>Edit body details</em> form below.") %] + </p> +[% END %] + [% IF live_contacts == 0 %] <p class="fms-admin-warning"> [% loc("This body has no contacts. This means that currently problems reported to this body <strong>will not be sent</strong>.") %] |