From 63a3ff36e19360662e8a3928c6c87eb3268daf74 Mon Sep 17 00:00:00 2001 From: Dave Whiteland Date: Fri, 27 Sep 2013 10:12:32 +0100 Subject: whitespace tidyup --- templates/web/default/admin/body.html | 280 +++++++++++++++++----------------- 1 file changed, 140 insertions(+), 140 deletions(-) diff --git a/templates/web/default/admin/body.html b/templates/web/default/admin/body.html index d0eb0f7df..025a1bb88 100644 --- a/templates/web/default/admin/body.html +++ b/templates/web/default/admin/body.html @@ -1,31 +1,31 @@ [% INCLUDE 'admin/header.html' title=tprintf(loc('Council contacts for %s'), body.name) -%] [% IF updated %] -

-[% updated %] -

+

+ [% updated %] +

[% END %]

-[% IF example_pc %] -[% tprintf( loc('Example postcode %s'), example_pc ) | html %] | -[% END %] -[% IF c.cobrand.moniker == 'emptyhomes' %] -[% loc('List all reported problems' ) %] | -[% ELSE %] -[% loc('List all reported problems' ) %] | -[% END %] -[% loc('Text only version') %] + [% IF example_pc %] + [% tprintf( loc('Example postcode %s'), example_pc ) | html %] | + [% END %] + [% IF c.cobrand.moniker == 'emptyhomes' %] + [% loc('List all reported problems' ) %] | + [% ELSE %] + [% loc('List all reported problems' ) %] | + [% END %] + [% loc('Text only version') %]

[% IF body.send_method == 'Open311' %] -

+

Council contacts configured via Open311 -

+ [% END %] [% IF c.cobrand.moniker == 'fixmystreet' %] -

Do not give these out except to people at the council.

+

Do not give these out except to people at the council.

[% END %] [% IF body.areas.size == 0 %] @@ -48,145 +48,145 @@
- - - - - - - - - - - - - - [% WHILE ( contact = contacts.next ) %] - - - - - - - - - - - - - [% END %] -
[% loc('Category') %][% loc('Email') %][% loc('Confirmed') %][% loc('Deleted') %][% loc('Devolved') %][% loc('Last editor') %][% loc('Note') %][% loc('Public') %][% loc('When edited') %][% loc('Confirm') %]
[% contact.category %][% contact.email | html %][% IF contact.confirmed %][% loc('Yes') %][% ELSE %][% loc('No') %][% END %][% IF contact.deleted %][% loc('Yes') %][% ELSE %][% loc('No') %][% END %][% IF body.can_be_devolved && contact.send_method %][% loc('Yes') %][% ELSE %][% loc('No') %][% END %][% contact.editor %][% contact.note | html %][% contact.non_public ? loc('Non Public') : loc('Public') %][% contact.whenedited.ymd _ ' ' _ contact.whenedited.hms %]
- -

+ + + + + + + + + + + + + + [% WHILE ( contact = contacts.next ) %] + + + + + + + + + + + + + [% END %] +
[% loc('Category') %][% loc('Email') %][% loc('Confirmed') %][% loc('Deleted') %][% loc('Devolved') %][% loc('Last editor') %][% loc('Note') %][% loc('Public') %][% loc('When edited') %][% loc('Confirm') %]
[% contact.category %][% contact.email | html %][% IF contact.confirmed %][% loc('Yes') %][% ELSE %][% loc('No') %][% END %][% IF contact.deleted %][% loc('Yes') %][% ELSE %][% loc('No') %][% END %][% IF body.can_be_devolved && contact.send_method %][% loc('Yes') %][% ELSE %][% loc('No') %][% END %][% contact.editor %][% contact.note | html %][% contact.non_public ? loc('Non Public') : loc('Public') %][% contact.whenedited.ymd _ ' ' _ contact.whenedited.hms %]
+ +

-

-
- -
-

[% loc('Add new category') %]

-

- [% loc("Each contact for the body has a category, which is displayed to the public. - Different categories can have the same contact (email address). - This means you can add many categories even if you only have one contact for the body. - ") %] -

+

+ + +
+

[% loc('Add new category') %]

+

+ [% loc("Each contact for the body has a category, which is displayed to the public. + Different categories can have the same contact (email address). + This means you can add many categories even if you only have one contact for the body. + ") %] +

-
- - [% IF c.cobrand.moniker != 'emptyhomes' %] -
-

- [% loc('Choose a category 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.') %] -
- [% 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('Category:') %] -

- [% END %] - -
-

- [% loc("The email address is the destination to which reports about this category will be sent. - Other categories for this body may have the same email address.") %] -

- [% IF (body.send_method AND body.send_method != 'Email') OR body.can_be_devolved %] -

- [% loc("If you're using a send method that is not email, enter the service ID (Open311) or equivalent identifier here.") %] -

- [% END %] -
+ + [% IF c.cobrand.moniker != 'emptyhomes' %] +

- [% loc('Email address:') %] + [% loc('Choose a category 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.') %] +
+ [% 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("Check confirmed 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('Category:') %] +

+ [% END %] + +
+

+ [% loc("The email address is the destination to which reports about this category will be sent. + Other categories for this body may have the same email address.") %] +

+ [% IF (body.send_method AND body.send_method != 'Email') OR body.can_be_devolved %]

- - + [% loc("If you're using a send method that is not email, enter the service ID (Open311) or equivalent identifier here.") %]

+ [% END %] +
-
-

- [% loc("Check deleted 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('Email address:') %] +

-
-

- [% loc("Use the note to record details that are only displayed in the admin. Notes are not shown publicly, and are not sent to the body.") %] -

-
-

- [% loc('Note:') %] -

+
+

+ [% loc("Check confirmed 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 private if reports in this category should never be displayed on the website. -
- Normally, categories are not private. -
- 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 deleted 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("Use the note to record details that are only displayed in the admin. Notes are not shown publicly, and are not sent to the body.") %] +

+
+

+ [% loc('Note:') %] +

-
- - -
-
+
+

+ [% loc("Check private if reports in this category should never be displayed on the website. +
+ Normally, categories are not private. +
+ 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('Edit body details') %]

- [% INCLUDE 'admin/body-form.html' %] +

+ + +

+ +

+ + + +

+ +
+ +
+ +
+
+

[% loc('Edit body details') %]

+ [% INCLUDE 'admin/body-form.html' %] +
[% INCLUDE 'admin/footer.html' %] -- cgit v1.2.3