From edb285b105d1d03c376df457990f42d644e2ebe7 Mon Sep 17 00:00:00 2001 From: AdamChrimes Date: Mon, 12 Aug 2019 09:49:25 +0100 Subject: [PATCH 01/16] Revert "hide the search functionality until it is fully tested" This reverts commit 8e5975cfe2f868f2f6ad9d77492858e03c6399df. --- app.js | 2 -- app/views/includes/header.njk | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app.js b/app.js index 1cfdf0f35..9cd8e89c5 100755 --- a/app.js +++ b/app.js @@ -75,7 +75,6 @@ app.get('/service-manual/design-example/:example', (req, res) => { res.render('includes/design-example-wrapper.njk', { body: exampleHtml }); }); -/* app.get('/service-manual/search', (req, res) => { var query = req.query['search-field'] || ''; res.render('includes/search.njk', { results: pageIndex.search(query), query: query }); @@ -85,7 +84,6 @@ app.get('/service-manual/suggestions', (req, res) => { res.set({ 'Content-Type': 'application/json' }); res.send(JSON.stringify(pageIndex.search(req.query.search))); }); -*/ app.get('/', (req, res) => { res.redirect('/service-manual'); diff --git a/app/views/includes/header.njk b/app/views/includes/header.njk index 0af0c8d7e..fba9c522e 100755 --- a/app/views/includes/header.njk +++ b/app/views/includes/header.njk @@ -22,7 +22,7 @@ "longName": "true" }, "showNav": "false", - "showSearch": "false", + "showSearch": "true", "searchAction": "/service-manual/search/" }) }} From e62fb4c902a8abfc605ab3f9bd4c0d7339d2b5c1 Mon Sep 17 00:00:00 2001 From: AdamChrimes Date: Mon, 12 Aug 2019 09:50:30 +0100 Subject: [PATCH 02/16] Revert "Revert "Update care cards info for content designers"" This reverts commit 9882c6d8af67a73e622754a675b438ac6fe466e7. --- .../styles-components-patterns/care-cards.njk | 36 ++++++++++++++----- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/app/views/styles-components-patterns/care-cards.njk b/app/views/styles-components-patterns/care-cards.njk index e24150561..f33af199d 100644 --- a/app/views/styles-components-patterns/care-cards.njk +++ b/app/views/styles-components-patterns/care-cards.njk @@ -84,10 +84,10 @@

When to use care cards

Use care cards to tell users to take action to get medical advice or help.

When not to use care cards

-

Don't use care cards:

+

Do not use care cards:

If you want: