Skip to content

Commit

Permalink
Clarify closed to updates is from the public.
Browse files Browse the repository at this point in the history
It is possible updates could still come in through integrations, or
staff leaving an update, or similar.
  • Loading branch information
dracos committed Feb 28, 2024
1 parent 192f9dd commit 5c20e85
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion t/cobrand/gloucestershire.t
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ FixMyStreet::override_config {
);
} else {
$mech->content_contains(
'This report is now closed to updates.',
'This report is now closed to updates from the public.',
'Correct message shown',
);
$mech->content_lacks(
Expand Down
2 changes: 1 addition & 1 deletion templates/web/base/report/_updates_disallowed_message.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p>[% loc('This report is now closed to updates.') %]
<p>[% loc('This report is now closed to updates from the public.') %]
[% tprintf(loc('You can <a href="%s">make a new report in the same location</a>.'),
c.uri_for( '/report/new', { longitude = longitude, latitude = latitude } )
) %]
Expand Down
2 changes: 1 addition & 1 deletion templates/web/base/report/display.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
[% IF problem.duplicate_of %]
[% INCLUDE 'report/duplicate-no-updates.html' %]
[% ELSIF problem.cobrand_data == 'noise' %]
<p>[% loc('This report is now closed to updates.') %]</p>
<p>[% loc('This report is now closed to updates from the public.') %]</p>
[% ELSIF NOT shown_form %]
[% PROCESS 'report/update-form-wrapper.html' %]
[% END %]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p>[% loc('This report is now closed to updates.') %]
<p>[% loc('This report is now closed to updates from the public.') %]
[% tprintf(loc('You can <a href="%s">make a new report in the same location</a>.'),
c.uri_for( '/report/new', { longitude = longitude, latitude = latitude } )
) %]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</p>

[% ELSE %]
<p>[% loc('This report is now closed to updates.') %]
<p>[% loc('This report is now closed to updates from the public.') %]
[% tprintf(loc('You can <a href="%s">make a new report in the same location</a>.'),
c.uri_for( '/report/new', { longitude = longitude, latitude = latitude } )
) %]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p>[% loc('This report is now closed to updates.') %]
<p>[% loc('This report is now closed to updates from the public.') %]
[% tprintf(loc('You can <a href="%s">make a new report in the same location</a>.'),
c.uri_for( '/report/new', { longitude = longitude, latitude = latitude } )
) %]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[% END %]
</p>
[% ELSE %]
<p>[% loc('This report is now closed to updates.') %]
<p>[% loc('This report is now closed to updates from the public.') %]
[% tprintf(loc('You can <a href="%s">make a new report in the same location</a>.'),
c.uri_for( '/report/new', { longitude = longitude, latitude = latitude } )
) %]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[% END %]
</p>
[% ELSE %]
<p>[% loc('This report is now closed to updates.') %]
<p>[% loc('This report is now closed to updates from the public.') %]
[% tprintf(loc('You can <a href="%s">make a new report in the same location</a>.'),
c.uri_for( '/report/new', { longitude = longitude, latitude = latitude } )
) %]
Expand Down

0 comments on commit 5c20e85

Please sign in to comment.