Skip to content

Commit cd0ec9b

Browse files
authored
Remove schools move export feature flag (#3401)
This feature is ready to be enabled for all users so we can remove the feature flag.
2 parents d861b63 + 4778d9c commit cd0ec9b

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

app/views/school_moves/index.html.erb

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
<%= h1 "School moves", size: "xl" %>
22

3-
<% if Flipper.enabled?(:school_moves_export) %>
4-
<div class="nhsuk-grid-row">
5-
<div class="nhsuk-grid-column-two-thirds">
6-
<p>When imported records or a new consent response indicates that a child has changed
7-
school, Mavis flags this as a school move.</p>
8-
<p>You can then review the new information and confirm the school move or ignore it.</p>
3+
<div class="nhsuk-grid-row">
4+
<div class="nhsuk-grid-column-two-thirds">
5+
<p>When imported records or a new consent response indicates that a child has changed
6+
school, Mavis flags this as a school move.</p>
7+
<p>You can then review the new information and confirm the school move or ignore it.</p>
98

10-
<%= govuk_button_to "Download records", school_move_exports_path, class: "app-button--secondary nhsuk-u-margin-bottom-5" %>
11-
</div>
9+
<%= govuk_button_to "Download records", school_move_exports_path, class: "app-button--secondary nhsuk-u-margin-bottom-5" %>
1210
</div>
13-
<% end %>
11+
</div>
1412

1513
<% if @school_moves.any? %>
1614
<div class="nhsuk-table__panel-with-heading-tab">

config/feature_flags.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,3 @@ offline_working: Prototype support for using Mavis offline.
99

1010
report_gillick_notify_parents: Include whether patients would like their
1111
parents to be informed of vaccinations in the reporting.
12-
13-
school_moves_export: Allow exporting confirmed school moves.

spec/features/download_school_moves_spec.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# frozen_string_literal: true
22

33
describe "Download school moves" do
4-
before { Flipper.enable(:school_moves_export) }
5-
after { Flipper.disable(:school_moves_export) }
6-
74
scenario "no dates given" do
85
given_i_am_signed_in
96
and_school_moves_exist

0 commit comments

Comments
 (0)