diff options
Diffstat (limited to 'templates')
4 files changed, 24 insertions, 8 deletions
diff --git a/templates/web/base/report/new/councils_text_all.html b/templates/web/base/report/new/councils_text_all.html index d39288765..8b9abf1f3 100644 --- a/templates/web/base/report/new/councils_text_all.html +++ b/templates/web/base/report/new/councils_text_all.html @@ -2,12 +2,21 @@ [% DEFAULT list_of_names = default_list %] <p> -[% +[% UNLESS non_public_categories.$category; + tprintf( loc('These will be sent to <strong>%s</strong> and also published online for others to see, in accordance with our <a href="%s">privacy policy</a>.'), list_of_names.join( '</strong>' _ loc(' or ') _ '<strong>' ), c.cobrand.privacy_policy_url ); -%] + +ELSE; + + tprintf( + loc('These will be sent to <strong>%s</strong> but not published online.'), + list_of_names.join( '</strong>' _ loc(' or ') _ '<strong>' ) + ); + +END %] [% TRY %][% INCLUDE 'report/new/councils_extra_text.html' %][% CATCH file %][% END %] </p> diff --git a/templates/web/base/report/new/form_report.html b/templates/web/base/report/new/form_report.html index 39e29c723..910536fe8 100644 --- a/templates/web/base/report/new/form_report.html +++ b/templates/web/base/report/new/form_report.html @@ -10,7 +10,8 @@ <div class="js-hide-if-invalid-category"> [% TRY %][% PROCESS 'report/new/_form_labels.html' %][% CATCH file %][% END %] - <h2 class="form-section-heading">[% loc( 'Public details' ) %]</h2> + <h2 class="form-section-heading js-hide-if-private-category">[% loc( 'Public details' ) %]</h2> + <h2 class="form-section-heading form-section-heading--private js-hide-if-public-category">[% loc( 'Report details' ) %]</h2> <div class="form-section-description" id="js-councils_text"> [% IF js %] [% PROCESS 'report/new/councils_text_all.html' list_of_names = [ loc('the local council') ] %] diff --git a/templates/web/hounslow/report/new/councils_text_all.html b/templates/web/hounslow/report/new/councils_text_all.html index ae2d9191c..c434813f8 100644 --- a/templates/web/hounslow/report/new/councils_text_all.html +++ b/templates/web/hounslow/report/new/councils_text_all.html @@ -1,5 +1,8 @@ <p> - These will be sent to <strong>Hounslow Highways</strong> and also published - online for others to see, in accordance with our - <a href="[% c.cobrand.privacy_policy_url %]">privacy policy</a>. + [% UNLESS non_public_categories.$category %] + These will be sent to <strong>Hounslow Highways</strong> and also published online for others to see, in accordance with our + <a href="[% c.cobrand.privacy_policy_url %]">privacy policy</a>. + [% ELSE %] + These will be sent to <strong>Hounslow Highways</strong> but not published online. + [% END %] </p> diff --git a/templates/web/oxfordshire/report/new/councils_text_all.html b/templates/web/oxfordshire/report/new/councils_text_all.html index a8c81f39e..05bfbf0da 100644 --- a/templates/web/oxfordshire/report/new/councils_text_all.html +++ b/templates/web/oxfordshire/report/new/councils_text_all.html @@ -1,5 +1,8 @@ <p> All the information you provide here will be sent to the - <strong>relevant department</strong>. The summary and description - will also be made public, plus your name if you give us permission. + <strong>relevant department</strong>. + [% UNLESS non_public_categories.$category %] + The summary and description + will also be made public, plus your name if you give us permission. + [% END %] </p> |