Skip to content

Commit

Permalink
Merge branch 'release/1.30.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrookeswebdev committed Dec 1, 2020
2 parents acace13 + 977606a commit 84d9707
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 21 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "application-form",
"version": "1.29.0",
"version": "1.30.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve --mode develop",
Expand Down
1 change: 1 addition & 0 deletions src/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ const lookup = (value) => {
'jewish': 'Jewish',
'judicial-office-extranet': 'Judicial Office Extranet',
'judicial-functions': 'The carrying-out of judicial functions of any court or tribunal',
'judging-your-future-newsletter': 'Judging Your Future Newsletter',
'lands-chamber': 'Lands Chamber',
'leadership-non-legal': 'Leadership - non legal',
'leadership': 'Leadership',
Expand Down
23 changes: 15 additions & 8 deletions src/views/Apply/AccountProfile/EqualityAndDiversitySurvey.vue
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
id="ethnic-group"
v-model="equalityAndDiversitySurvey.ethnicGroup"
required
label="What's your ethnic group?"
label="What is your ethnic group?"
>
<p class="govuk-heading-s govuk-!-margin-top-6">
Asian/Asian British
Expand Down Expand Up @@ -425,7 +425,7 @@
id="gender"
v-model="equalityAndDiversitySurvey.gender"
required
label="What gender are you?"
label="What is your sex?"
>
<RadioItem
value="female"
Expand All @@ -441,12 +441,12 @@
/>
<RadioItem
value="other-gender"
label="Other"
label="Other sex"
>
<TextField
id="other-gender-details"
v-model="equalityAndDiversitySurvey.otherGenderDetails"
label="Other gender"
label="Other sex"
class="govuk-!-width-two-thirds"
/>
</RadioItem>
Expand All @@ -460,7 +460,7 @@
id="changed-gender"
v-model="equalityAndDiversitySurvey.changedGender"
required
label="Is your gender identity the same as the sex you were assigned at birth?"
label="Is the gender you identify with the same as your sex registered at birth?"
hint="This is about gender re-assignment."
>
<RadioItem
Expand All @@ -470,7 +470,14 @@
<RadioItem
:value="false"
label="No"
/>
>
<TextField
id="gender-indentity-details"
v-model="equalityAndDiversitySurvey.genderIdentityDetails"
label="Please enter your gender identity"
class="govuk-!-width-two-thirds"
/>
</RadioItem>
<RadioItem
value="prefer-not-to-say"
label="Prefer not to say"
Expand Down Expand Up @@ -557,7 +564,7 @@
id="religion-faith"
v-model="equalityAndDiversitySurvey.religionFaith"
required
label="What religion or belief do you have?"
label="What is your religion?"
>
<RadioItem
value="no-religion"
Expand Down Expand Up @@ -654,7 +661,7 @@
id="has-taken-paje"
v-model="equalityAndDiversitySurvey.hasTakenPAJE"
required
label="Have you taken part in the Pre-Application Judicial Education programme (PAJE)?"
label="Have you taken part in the Pre-Application Judicial Education Programme (PAJE)?"
>
<p class="govuk-hint govuk-!-margin-top-0">
The
Expand Down
2 changes: 1 addition & 1 deletion src/views/Apply/AccountProfile/PAJE.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<h1>Tell us if you've taken part in Pre-Application Judicial Education programme (PAJE)</h1>
<h1>Tell us if you've taken part in Pre-Application Judicial Education Programme (PAJE)</h1>
</template>

export default {}
4 changes: 4 additions & 0 deletions src/views/Apply/AdditionalInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
value="judicial-office-extranet"
label="Judicial Office Extranet"
/>
<CheckboxItem
value="judging-your-future-newsletter"
label="Judging Your Future Newsletter"
/>
<CheckboxItem
value="twitter"
label="Twitter"
Expand Down
8 changes: 4 additions & 4 deletions src/views/Apply/FinalCheck/Review.vue
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@

<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">
Ethnic group
What is your ethnic group?
</dt>
<dd class="govuk-summary-list__value">
<p
Expand Down Expand Up @@ -465,7 +465,7 @@

<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">
Gender
What is your sex?
</dt>
<dd class="govuk-summary-list__value">
<p
Expand All @@ -481,7 +481,7 @@

<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">
Gender is the same as sex assigned at birth
Is the gender you identify with the same as your sex registered at birth?
</dt>
<dd class="govuk-summary-list__value">
{{ application.equalityAndDiversitySurvey.changedGender | lookup | toYesNo }}
Expand Down Expand Up @@ -522,7 +522,7 @@

<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">
Religion or faith
What is your religion?
</dt>
<dd class="govuk-summary-list__value">
<p
Expand Down
2 changes: 1 addition & 1 deletion src/views/DiversityInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
scope="row"
class="govuk-table__header"
>
Religious beliefs
Religion
</th>
<td class="govuk-table__cell">
<a href="name">Change</a>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Vacancy/VacancyDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
class="govuk-button info-link--vacancy-details--you-been-invited-to-this-exercise"
data-module="govuk-button"
:to="{ name: 'eligibility' }"
>
>
You've been invited to this exercise, click here to apply
</RouterLink>

Expand Down
6 changes: 1 addition & 5 deletions tests/journeys/page-titles.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// @FIXME@ *error-four* Quite a different test base, couldnt manage to successfully integrate helpers
// couldnt tell how to add necessary logic to either
// this file or ../helpers.js

import App from '@/App';
// import Router from 'vue-router';
// import Vuex from 'vuex';
Expand All @@ -28,7 +24,7 @@ const routes = [
['confirmation', 'Confirmation'],
];

xdescribe('Page titles', () => {
describe('Page titles', () => {
let wrapper;
beforeEach(() => {
// const localVue = createLocalVue();
Expand Down

0 comments on commit 84d9707

Please sign in to comment.