diff options
Diffstat (limited to 'templates/web/base/admin/body.html')
-rw-r--r-- | templates/web/base/admin/body.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/web/base/admin/body.html b/templates/web/base/admin/body.html index e67cb2b07..cd87a5af8 100644 --- a/templates/web/base/admin/body.html +++ b/templates/web/base/admin/body.html @@ -47,6 +47,10 @@ <br> [% loc("Add a contact using the form below.") %] </p> +[% ELSIF c.config.STAGING_SITE and !c.config.SEND_REPORTS_ON_STAGING %] + <p class="fms-admin-warning"> + [% tprintf(loc("As this is a staging site and %s is false, reports made on this site will be sent to the problem reporter, not the contact given for the report’s category."), "<a class='admin-offsite-link' href='http://fixmystreet.org/customising/config/#send_reports_on_staging'><code>SEND_REPORTS_ON_STAGING</code></a>") %] + </p> [% END %] <form method="post" action="[% c.uri_for('body', body_id ) %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8"> @@ -61,7 +65,7 @@ </tr> [% WHILE ( cat = contacts.next ) %] <tr [% IF cat.deleted %]class="is-deleted"[% END %]> - <td class="contact-category"><a href="[% c.uri_for( 'body_edit', body_id, cat.category ) %]">[% cat.category %]</a> + <td class="contact-category"><a href="[% c.uri_for( 'body', body_id, cat.category ) %]">[% cat.category %]</a> <br>[% cat.email | html %]</td> <td> [% loc('Confirmed') %]: |