diff options
Diffstat (limited to 'templates/web/base')
-rw-r--r-- | templates/web/base/admin/body-form.html | 2 | ||||
-rw-r--r-- | templates/web/base/admin/body.html | 2 | ||||
-rw-r--r-- | templates/web/base/admin/contact-form.html | 36 | ||||
-rw-r--r-- | templates/web/base/admin/open311-form-fields.html | 52 | ||||
-rw-r--r-- | templates/web/base/admin/user-form.html | 30 |
5 files changed, 61 insertions, 61 deletions
diff --git a/templates/web/base/admin/body-form.html b/templates/web/base/admin/body-form.html index b1f4bce2c..6c750bcaf 100644 --- a/templates/web/base/admin/body-form.html +++ b/templates/web/base/admin/body-form.html @@ -118,7 +118,7 @@ <div class="admin-hint"> <p> [% loc( - "Enable this <strong>can be devolved</strong> setting if one or more contacts have a + "Enable this <strong>can be devolved</strong> setting if one or more contacts have a different endpoint (and send method) from the body's. For example, if reports for some categories of problem must be emailed, while others can be sent over Open311." ) %] diff --git a/templates/web/base/admin/body.html b/templates/web/base/admin/body.html index 64b4142de..5c9f4f9b9 100644 --- a/templates/web/base/admin/body.html +++ b/templates/web/base/admin/body.html @@ -113,7 +113,7 @@ </form> <p class="fms-admin-info"> - [% loc("Each contact for the body has a category, which is displayed to the public. + [% loc("Each contact for the body has a category, which is displayed to the public. Different categories <strong>can have the same contact</strong> (email address). This means you can add many categories even if you only have one contact for the body. ") %] diff --git a/templates/web/base/admin/contact-form.html b/templates/web/base/admin/contact-form.html index 83f634188..493d8020f 100644 --- a/templates/web/base/admin/contact-form.html +++ b/templates/web/base/admin/contact-form.html @@ -8,11 +8,11 @@ [% ELSE %] <div class="admin-hint"> <p> - [% loc('Choose a <strong>category</strong> name that makes sense to the public (e.g., "Pothole", "Street lighting") but is helpful - to the body too. These will appear in the drop-down menu on the report-a-problem page.') %] - <br> - [% loc("If two or more bodies serve the same location, FixMyStreet combines identical categories into a single entry in - the menu. Make sure you use the same category name in the bodies if you want this to happen.") %] + [% loc('Choose a <strong>category</strong> name that makes sense to the public (e.g., "Pothole", "Street lighting") but is helpful + to the body too. These will appear in the drop-down menu on the report-a-problem page.') %] + <br> + [% loc("If two or more bodies serve the same location, FixMyStreet combines identical categories into a single entry in + the menu. Make sure you use the same category name in the bodies if you want this to happen.") %] </p> </div> <p> @@ -22,8 +22,8 @@ <div class="admin-hint"> <p> - [% loc("The <strong>email address</strong> is the destination to which reports about this category will be sent. - Other categories for this body may have the same email address.") %] + [% loc("The <strong>email address</strong> is the destination to which reports about this category will be sent. + Other categories for this body may have the same email address.") %] </p> [% IF (body.send_method AND body.send_method != 'Email') OR body.can_be_devolved %] <p> @@ -38,8 +38,8 @@ <div class="admin-hint"> <p> - [% loc("Check <strong>confirmed</strong> to indicate that this contact has been confirmed as correct. - If you are not sure of the origin or validity of the contact, leave this unchecked.") %] + [% loc("Check <strong>confirmed</strong> to indicate that this contact has been confirmed as correct. + If you are not sure of the origin or validity of the contact, leave this unchecked.") %] </p> </div> <p> @@ -49,8 +49,8 @@ <div class="admin-hint"> <p> - [% loc("Check <strong>deleted</strong> to remove the category from use. - It will not appear as an available category in the drop-down menu on the report-a-problem page.") %] + [% loc("Check <strong>deleted</strong> to remove the category from use. + It will not appear as an available category in the drop-down menu on the report-a-problem page.") %] </p> </div> <p> @@ -60,13 +60,13 @@ <div class="admin-hint"> <p> - [% loc("Check <strong>private</strong> if reports in this category should <strong>never be displayed on the website</strong>. - <br> - Normally, categories are not private. - <br> - This is suitable for issues that you want to allow users to report to the body, but for which there is no public - interest in displaying the report. In the UK, we've used this for services like requesting an extra rubbish bin - at a specific address.") %] + [% loc("Check <strong>private</strong> if reports in this category should <strong>never be displayed on the website</strong>. + <br> + Normally, categories are not private. + <br> + This is suitable for issues that you want to allow users to report to the body, but for which there is no public + interest in displaying the report. In the UK, we've used this for services like requesting an extra rubbish bin + at a specific address.") %] </p> </div> <p> diff --git a/templates/web/base/admin/open311-form-fields.html b/templates/web/base/admin/open311-form-fields.html index 008853b0b..d1067205c 100644 --- a/templates/web/base/admin/open311-form-fields.html +++ b/templates/web/base/admin/open311-form-fields.html @@ -1,20 +1,20 @@ <div class="admin-open311-only"> <p class="fms-admin-info"> - [% loc( - "These settings are for bodies that use Open311 (or other back-end integration) to receive problem reports.<br> - <strong>You don't need to set them if the Send Method is email.</strong>. - For more information on Open311, see - <a href='https://www.mysociety.org/2013/01/17/open311-explained/' class='admin-offsite-link'>this article</a>. - " - ) %] + [% loc( + "These settings are for bodies that use Open311 (or other back-end integration) to receive problem reports.<br> + <strong>You don't need to set them if the Send Method is email.</strong>. + For more information on Open311, see + <a href='https://www.mysociety.org/2013/01/17/open311-explained/' class='admin-offsite-link'>this article</a>. + " + ) %] </p> <div class="admin-hint"> <p> - [% loc( - "The <strong>endpoint</strong> is the URL of the service that FixMyStreet will connect to - when sending reports to this body." - ) %] + [% loc( + "The <strong>endpoint</strong> is the URL of the service that FixMyStreet will connect to + when sending reports to this body." + ) %] </p> </div> <p> @@ -25,26 +25,26 @@ <div class="admin-hint"> <p> [% loc( - "The <strong>jurisdiction</strong> is only needed if the endpoint is serving more - than one. If the body is running its own endpoint, you can usually leave this blank." + "The <strong>jurisdiction</strong> is only needed if the endpoint is serving more + than one. If the body is running its own endpoint, you can usually leave this blank." ) %] </p> </div> <p> - <label for="jurisdiction">Open311 Jurisdiction</label> + <label for="jurisdiction">[% loc('Open311 Jurisdiction') %]</label> <input type="text" class="form-control" name="jurisdiction" id="jurisdiction" value="[% object.jurisdiction | html %]" size="50"> </p> <div class="admin-hint"> <p> [% loc( - "Some endpoints require an <strong>API key</strong> to indicate that the reports are being - sent from your FixMyStreet installation." + "Some endpoints require an <strong>API key</strong> to indicate that the reports are being + sent from your FixMyStreet installation." ) %] </p> </div> <p> - <label for="api_key">Open311 API Key</label> + <label for="api_key">[% loc('Open311 API Key') %]</label> <input type="text" class="form-control" name="api_key" id="api_key" value="[% object.api_key | html %]" size="25"> </p> @@ -53,29 +53,29 @@ <div class="admin-hint"> <p> [% loc( - "Enable <strong>Open311 update-sending</strong> if the endpoint will send and receive + "Enable <strong>Open311 update-sending</strong> if the endpoint will send and receive updates to existing reports. If you're not sure, it probably does not, so leave this unchecked. - For more information, see + For more information, see <a href='https://www.mysociety.org/2013/02/20/open311-extended/' class='admin-offsite-link'>this article</a>." ) %] </p> </div> <p> <input type="checkbox" id="send_comments" name="send_comments"[% ' checked' IF object.send_comments %]> - <label for="send_comments" class="inline">Use Open311 update-sending extension</label> + <label for="send_comments" class="inline">[% loc('Use Open311 update-sending extension') %]</label> </p> <div class="admin-hint"> <p> [% loc( - "If you've enabled Open311 update-sending above, you must identify which + "If you've enabled Open311 update-sending above, you must identify which FixMyStreet <strong>user</strong> will be attributed as the creator of those updates when they are shown on the site. Enter the ID (number) of that user." ) %] </p> </div> <p> - <label for"comment_user_id">User ID to attribute fetched comments to</label> + <label for"comment_user_id">[% loc('User ID to attribute fetched comments to') %]</label> <input type="text" class="form-control" name="comment_user_id" value="[% object.comment_user_id %]"> [% IF object.comment_user_id %] <a href="[% c.uri_for('user_edit', object.comment_user_id) %]">[% loc('edit user') %]</a> @@ -85,20 +85,20 @@ <div class="admin-hint"> <p> [% loc( - "If you've enabled Open311 update-sending above, enable <strong>suppression of alerts</strong> + "If you've enabled Open311 update-sending above, enable <strong>suppression of alerts</strong> if you do <strong>not</strong> want that user to be notified whenever these updates are created." ) %] </p> </div> <p> <input type="checkbox" id="suppress_alerts" name="suppress_alerts"[% ' checked' IF object.suppress_alerts %]> - <label for="suppress_alerts" class="inline">Do not send email alerts on fetched comments to problem creator</label> + <label for="suppress_alerts" class="inline">[% loc('Do not send email alerts on fetched comments to problem creator') %]</label> </p> <div class="admin-hint"> <p> [% loc( - "If you've enabled Open311 update-sending above, Open311 usually only accepts OPEN or CLOSED status in + "If you've enabled Open311 update-sending above, Open311 usually only accepts OPEN or CLOSED status in its updates. Enable <strong>extended Open311 stauses</strong> if you want to allow extra states to be passed. Check that your cobrand supports this feature before switching it on." ) %] @@ -106,7 +106,7 @@ </div> <p> <input type="checkbox" id="send_extended_statuses" name="send_extended_statuses"[% ' checked' IF object.send_extended_statuses %]> - <label for="send_extended_statuses" class="inline">Send extended Open311 statuses with service request updates</label> + <label for="send_extended_statuses" class="inline">[% loc('Send extended Open311 statuses with service request updates') %]</label> </p> [% END %] </div> diff --git a/templates/web/base/admin/user-form.html b/templates/web/base/admin/user-form.html index cfd85b465..17230e940 100644 --- a/templates/web/base/admin/user-form.html +++ b/templates/web/base/admin/user-form.html @@ -21,22 +21,22 @@ <li><label for="phone">[% loc('Phone:') %]</label> <input type='text' class="form-control" id='phone' name='phone' value='[% user.phone | html %]'></li> - [% IF c.user.is_superuser || c.cobrand.moniker == 'zurich' %] - <li> - <div class="admin-hint"> - <p> - [% loc( - "Normal (public) users should not be associated with any <strong>body</strong>.<br> - Authorised staff users can be associated with the body they represent.<br> - Depending on the implementation, staff users may have access to the dashboard (summary of - activity across their body), the ability to hide reports or set special report statuses.") - %] - </p> - </div> - [% loc('Body:') %] <select class="form-control" id='body' name='body'> - <option value=''>[% loc('No body') %]</option> + [% IF c.user.is_superuser || c.cobrand.moniker == 'zurich' %] + <li> + <div class="admin-hint"> + <p> + [% loc( + "Normal (public) users should not be associated with any <strong>body</strong>.<br> + Authorised staff users can be associated with the body they represent.<br> + Depending on the implementation, staff users may have access to the dashboard (summary of + activity across their body), the ability to hide reports or set special report statuses.") + %] + </p> + </div> + [% loc('Body:') %] <select class="form-control" id='body' name='body'> + <option value=''>[% loc('No body') %]</option> [% FOR body IN bodies %] - <option value="[% body.id %]"[% ' selected data-originally-selected' IF body.id == user.from_body.id %]>[% body.name %]</option> + <option value="[% body.id %]"[% ' selected data-originally-selected' IF body.id == user.from_body.id %]>[% body.name %]</option> [% END %] </select> </li> |