Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add christmas period downtime banner #1162

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/date_of_birth/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<%= f.govuk_date_field(
:date_of_birth,
date_of_birth: true,
legend: { tag: 'h1', size: 'xl', text: 'Your date of birth' },
legend: { tag: 'h1', size: 'xl', text: 'What is your date of birth?' },
hint: { text: 'For example, 27 3 1987' }
)
%>
Expand Down
2 changes: 1 addition & 1 deletion app/views/email/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<%= f.govuk_error_summary %>
<%= f.govuk_email_field(
:email,
label: { tag: 'h1', size: 'xl', text: 'Your email address' },
label: { tag: 'h1', size: 'xl', text: 'What is your email address' },
hint: { text: 'If we can find your TRN, we’ll send it to the email address you give.' }
)
%>
Expand Down
4 changes: 2 additions & 2 deletions app/views/itt_providers/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<%= form_with model: @itt_provider_form, url: itt_provider_path do |f| %>
<%= f.govuk_error_summary %>
<%= f.govuk_radio_buttons_fieldset(:itt_provider_enrolled, legend: { tag: 'h1', size: 'xl', text: 'Did a university, SCITT or school award your QTS?' }) do %>
<%= f.govuk_radio_buttons_fieldset(:itt_provider_enrolled, legend: { tag: 'h1', size: 'l', text: 'Did a university, School Centred Initial Teacher Training (SCITT) provider or school award your QTS?' }) do %>
<%= f.govuk_radio_button :itt_provider_enrolled, true, label: { text: 'Yes' }, link_errors: true do %>
<% if FeatureFlag.active?(:use_dqt_api_itt_providers) %>
<%= render DfE::Autocomplete::View.new(
Expand All @@ -16,7 +16,7 @@
f.object.itt_provider_name,
),
label: { text: 'Where did you get your QTS?', class: 'govuk-label govuk-label--s' },
hint: { text: 'Your university, SCITT, school or other training provider' },
hint: { text: 'Enter your university, SCITT, school or other training provider' },
)
) %>
<% else %>
Expand Down
1 change: 1 addition & 0 deletions app/views/layouts/base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<%= yield(:before_content) %>

<main class="govuk-main-wrapper" id="main-content" role="main">
<%= govuk_notification_banner title_text: "Important", text: "We will not reply to queries from 23 December 2024 to 3 January 2025 due to Christmas and New Year holidays." %>
<%= render(FlashMessageComponent.new(flash: flash)) %>
<%= content_for?(:content) ? yield(:content) : yield %>
</main>
Expand Down
4 changes: 2 additions & 2 deletions app/views/name/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<%= f.govuk_error_summary %>

<h1 class="govuk-heading-xl">
What’s your name?
What iss your name?
</h1>

<p>Use the name on your official documents, such as your passport.</p>
<p>Use the name on your official documents, such as your passport, driving licence or birth certificate</p>

<%= f.govuk_text_field(:first_name,
label: { size: 's', text: 'First name' },
Expand Down
4 changes: 2 additions & 2 deletions app/views/pages/you_dont_have_a_trn.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
<h2 class="govuk-heading-l" id="how-to-get-a-trn">How to get a TRN</h2>
<p class="govuk-body">If you’re eligible for a TRN in England, you should be allocated one automatically by the Teaching Regulation Agency or Capita Teachers’ Pensions.</p>

<p class="govuk-body">If you do not have a TRN but need one to do a national professional qualification (NPQ), you can <%= govuk_link_to "request a TRN", "https://www.gov.uk/guidance/teacher-reference-number-trn" %>.</p>
<p class="govuk-body">If you do not have a TRN but need one to do an NPQ, you can <%= govuk_link_to "request a TRN", "https://www.gov.uk/guidance/teacher-reference-number-trn" %>.</p>

<h2 class="govuk-heading-l" id="what-a-trn-is-for">What a TRN is for</h2>
<p class="govuk-body">You need a TRN to:</p>
<ul class="govuk-list govuk-list--bullet">
<li><a class="govuk-link" href="https://access-your-teaching-qualifications.education.gov.uk">access your teaching qualifications</a> to download your certificates, change the name on them or check details of your initial teacher training and induction</li>
<li>give to employers so they can complete mandatory teacher status checks</li>
<li>manage records of your contributions to the Teachers’ Pensions scheme</li>
<li>give to the Department for Education (DfE) when you have been awarded QTS so you can begin your early career teacher induction</li>
<li>give to the DfE when you have been awarded QTS so you can begin your early career teacher induction</li>
<li>register for an NPQ</li>
</ul>
</div>
Expand Down
Loading