aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-08-07 11:53:58 +0100
committerDave Whiteland <dave@mysociety.org>2013-09-05 17:31:06 +0100
commit2cc0b90ba609b0043e792a76f99ab74761f01124 (patch)
treeb4308d375b6e46b467788a9b7cb7b2a0ee679fc1
parent8acaea9f91c7db24871e6e1bd9268d9bf3b0d52d (diff)
add open311 body form hint
-rw-r--r--templates/web/default/admin/body-form.html9
-rw-r--r--templates/web/default/admin/header.html2
2 files changed, 10 insertions, 1 deletions
diff --git a/templates/web/default/admin/body-form.html b/templates/web/default/admin/body-form.html
index ec29faf5c..131df1f85 100644
--- a/templates/web/default/admin/body-form.html
+++ b/templates/web/default/admin/body-form.html
@@ -49,6 +49,15 @@
</p>
<div class="admin-open311-only">
+ [% IF c.config.SHOW_ADMIN_HINTS %]
+ <p class="fms-admin-info">
+ [% loc(
+ "These settings are for bodies that use Open311 (or other back-end integration) to receive problem reports.<br>
+ You don't need to set them if the Send Method is email."
+ ) %]
+ </p>
+ [% END %]
+
<p>
<label for="endpoint">[% loc('Endpoint') %]</label>
<input type="text" name="endpoint" id="endpoint" value="[% body.endpoint %]" size="50">
diff --git a/templates/web/default/admin/header.html b/templates/web/default/admin/header.html
index cda9b5050..8cceaf728 100644
--- a/templates/web/default/admin/header.html
+++ b/templates/web/default/admin/header.html
@@ -7,7 +7,7 @@ dd { margin-left: 8em; }
select { width: auto; }
.admin-open311-only {
border:1px solid #666;
- padding:0 1em;
+ padding:1em;
margin: 1em 0;
}
</style>