From 534bb6f75db411b56a7d9c3e7c7b91b4480c6999 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 1 Nov 2019 15:54:30 +0000 Subject: [TfL] Disable fix/reopen update checkbox. --- .../report/update/form_state_checkbox.html | 19 +++++++++++++++++++ .../web/tfl/report/update/form_state_checkbox.html | 0 2 files changed, 19 insertions(+) create mode 100644 templates/web/fixmystreet.com/report/update/form_state_checkbox.html create mode 100644 templates/web/tfl/report/update/form_state_checkbox.html diff --git a/templates/web/fixmystreet.com/report/update/form_state_checkbox.html b/templates/web/fixmystreet.com/report/update/form_state_checkbox.html new file mode 100644 index 000000000..16ae59bc8 --- /dev/null +++ b/templates/web/fixmystreet.com/report/update/form_state_checkbox.html @@ -0,0 +1,19 @@ +[% RETURN IF problem.to_body_named('TfL') OR problem.to_body_named('Hounslow') %] + +[% IF (problem.is_fixed OR problem.is_closed) AND ((c.user_exists AND c.user.id == problem.user_id) OR alert_to_reporter) %] + + + [% IF problem.is_closed %] + + [% ELSE %] + + [% END %] + +[% ELSIF !problem.is_fixed AND has_fixed_state %] + +
+ + +
+ +[% END %] diff --git a/templates/web/tfl/report/update/form_state_checkbox.html b/templates/web/tfl/report/update/form_state_checkbox.html new file mode 100644 index 000000000..e69de29bb -- cgit v1.2.3