-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9781 from DFE-Digital/cv/allow-work-history-edits
Allow candidate to edit work histories
- Loading branch information
Showing
10 changed files
with
128 additions
and
12 deletions.
There are no files selected for viewing
6 changes: 4 additions & 2 deletions
6
app/components/candidate_interface/editable_section_warning.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
<div class="govuk-inset-text"> | ||
<% if @section_policy.personal_statement? %> | ||
Any changes you make to your personal statement will not be included in applications you have already submitted. | ||
<%= t('editable_section_warning.not_included_in_submitted_personal_statement') %> | ||
<% elsif @section_policy.work_history? %> | ||
<%= t('editable_section_warning.not_included_in_submitted') %> | ||
<% else %> | ||
Any changes you make will be included in applications you have already submitted. | ||
<%= t('editable_section_warning.included_in_submitted') %> | ||
<% end %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
config/locales/components/candidate_interface/editable_section_warning.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
en: | ||
editable_section_warning: | ||
not_included_in_submitted_personal_statement: Any changes you make to your personal statement will not be included in applications you have already submitted. | ||
not_included_in_submitted: Any changes you make will not be included in applications you have already submitted. | ||
included_in_submitted: Any changes you make will be included in applications you have already submitted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters