Skip to content

Commit 129c03d

Browse files
authored
feat: update global nav and footer (#711)
provide users with a route to essential user guidance, support and contacts. part of #623
1 parent c88f46f commit 129c03d

File tree

4 files changed

+46
-43
lines changed

4 files changed

+46
-43
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
exclude: tf$|j2$
1212

1313
- repo: https://github.com/psf/black
14-
rev: 24.4.2
14+
rev: 24.8.0
1515
hooks:
1616
- id: black
1717
name: black formatting

locale/en/LC_MESSAGES/django.po

+35-27
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Find MoJ data\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2024-08-21 11:20+0100\n"
8+
"POT-Creation-Date: 2024-08-22 11:59+0100\n"
99
"Language: en\n"
1010
"MIME-Version: 1.0\n"
1111
"Content-Type: text/plain; charset=UTF-8\n"
@@ -72,16 +72,16 @@ msgstr "All subject areas"
7272
msgid "Analytical Platform"
7373
msgstr "Analytical Platform"
7474

75-
#: home/forms/search.py:69 home/service/search.py:112
76-
#: home/service/search.py:222 templates/partial/filter.html:20
75+
#: home/forms/search.py:69 home/service/search.py:113
76+
#: home/service/search.py:223 templates/partial/filter.html:19
7777
msgid "Domain"
7878
msgstr "Subject area"
7979

80-
#: home/service/details.py:65 templates/partial/search_result.html:21
80+
#: home/service/details.py:65 templates/partial/search_result.html:20
8181
msgid "Database"
8282
msgstr "Database"
8383

84-
#: home/service/details.py:139 templates/partial/search_result.html:25
84+
#: home/service/details.py:139 templates/partial/search_result.html:24
8585
msgid "Chart"
8686
msgstr "Chart"
8787

@@ -93,15 +93,15 @@ msgstr "Glossary"
9393
msgid "Metadata specification"
9494
msgstr "Metadata specification"
9595

96-
#: home/service/search.py:121 templates/partial/filter.html:34
96+
#: home/service/search.py:122 templates/partial/filter.html:33
9797
msgid "Entity Types"
9898
msgstr "Entity types"
9999

100-
#: home/service/search.py:131
100+
#: home/service/search.py:132
101101
msgid "Where To Access"
102102
msgstr "Where to access"
103103

104-
#: home/service/search.py:139
104+
#: home/service/search.py:140
105105
msgid "Tags"
106106
msgstr "Tags"
107107

@@ -118,15 +118,15 @@ msgstr "ID"
118118
msgid "URN"
119119
msgstr "URN"
120120

121-
#: home/service/search.py:223
121+
#: home/service/search.py:224
122122
msgid "Title"
123123
msgstr "Title"
124124

125125
#: home/service/search.py:225
126126
msgid "Name"
127127
msgstr "Name"
128128

129-
#: home/service/search.py:226 templates/details_base.html:42
129+
#: home/service/search.py:226 templates/details_base.html:41
130130
#: templates/details_dashboard.html:14 templates/details_database.html:14
131131
#: templates/details_table.html:14
132132
msgid "Description"
@@ -244,29 +244,37 @@ msgstr "Feedback"
244244
msgid "Sign out"
245245
msgstr "Sign out"
246246

247-
#: templates/base/navigation.html:69 templates/details_base.html:14
247+
#: templates/base/navigation.html:69 templates/details_base.html:13
248248
msgid "Search"
249249
msgstr "Search"
250250

251-
#: templates/details_base.html:48
251+
#: templates/base/navigation.html:74
252+
msgid "User guide"
253+
msgstr "User guide"
254+
255+
#: templates/base/navigation.html:79
256+
msgid "Contact us"
257+
msgstr "Contact us"
258+
259+
#: templates/details_base.html:47
252260
msgid "No description available."
253261
msgstr "No description available."
254262

255-
#: templates/details_base.html:55
263+
#: templates/details_base.html:54
256264
msgid "First created:"
257265
msgstr "First created:"
258266

259-
#: templates/details_base.html:61
267+
#: templates/details_base.html:60
260268
msgid "Last updated:"
261269
msgstr "Last updated:"
262270

263-
#: templates/details_base.html:72 templates/partial/search_result.html:40
271+
#: templates/details_base.html:71 templates/partial/search_result.html:39
264272
msgid "Domain:"
265273
msgstr "Subject area:"
266274

267-
#: templates/details_base.html:73 templates/partial/contact_info.html:15
275+
#: templates/details_base.html:72 templates/partial/contact_info.html:15
268276
#: templates/partial/contact_info.html:30
269-
#: templates/partial/search_result.html:41
277+
#: templates/partial/search_result.html:40
270278
msgid "Not provided"
271279
msgstr "Not provided."
272280

@@ -423,11 +431,11 @@ msgstr ""
423431
"to support an essential process or purpose, which is the responsibility of "
424432
"the acquiring organisation.</li> </ul>"
425433

426-
#: templates/partial/filter.html:8
434+
#: templates/partial/filter.html:7
427435
msgid "Filter"
428436
msgstr "Filter"
429437

430-
#: templates/partial/filter.html:26
438+
#: templates/partial/filter.html:25
431439
msgid "Subdomain"
432440
msgstr "Subdomain"
433441

@@ -455,35 +463,35 @@ msgstr ""
455463
"<p>If you didn't find what you are looking for, make sure that all words are "
456464
"spelled correctly.</p>"
457465

458-
#: templates/partial/pagination.html:11
466+
#: templates/partial/pagination.html:10
459467
msgid "Previous<span class=\"govuk-visually-hidden\"> page</span>"
460468
msgstr "Previous<span class=\"govuk-visually-hidden\"> page</span>"
461469

462-
#: templates/partial/pagination.html:35
470+
#: templates/partial/pagination.html:34
463471
msgid "Next<span class=\"govuk-visually-hidden\"> page</span>"
464472
msgstr "Next<span class=\"govuk-visually-hidden\"> page</span>"
465473

466-
#: templates/partial/search_result.html:17
474+
#: templates/partial/search_result.html:16
467475
msgid "Table"
468476
msgstr "Table"
469477

470-
#: templates/partial/search_result.html:45
478+
#: templates/partial/search_result.html:44
471479
msgid "Database:"
472480
msgstr "Database:"
473481

474-
#: templates/partial/search_result.html:65
482+
#: templates/partial/search_result.html:64
475483
msgid "Matched fields:"
476484
msgstr "Matched fields:"
477485

478-
#: templates/partial/selected_filters.html:8
486+
#: templates/partial/selected_filters.html:7
479487
msgid "Selected filters"
480488
msgstr "Selected filters"
481489

482-
#: templates/partial/selected_filters.html:16
490+
#: templates/partial/selected_filters.html:15
483491
msgid "Clear filter"
484492
msgstr "Clear filer"
485493

486-
#: templates/partial/selected_filters.html:29
494+
#: templates/partial/selected_filters.html:28
487495
msgid "Remove this filter"
488496
msgstr "Remove this filter"
489497

templates/base/footer.html

-15
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,11 @@
55
<div class="govuk-footer__meta-item govuk-footer__meta-item--grow">
66
<h2 class="govuk-visually-hidden">{% translate "Support links" %}</h2>
77
<ul class="govuk-footer__inline-list">
8-
<li class="govuk-footer__inline-list-item">
9-
<a class="govuk-footer__link" href="#">
10-
{% translate "Help" %}
11-
</a>
12-
</li>
138
<li class="govuk-footer__inline-list-item">
149
<a class="govuk-footer__link" href="#">
1510
{% translate "Cookies" %}
1611
</a>
1712
</li>
18-
<li class="govuk-footer__inline-list-item">
19-
<a class="govuk-footer__link" href="https://moj.enterprise.slack.com/archives/C06NPM2200N">
20-
{% translate "Contact" %}
21-
</a>
22-
</li>
23-
<li class="govuk-footer__inline-list-item">
24-
<a class="govuk-footer__link" href="#">
25-
{% translate "Terms and conditions" %}
26-
</a>
27-
</li>
2813
</ul>
2914
<svg
3015
aria-hidden="true"

templates/base/navigation.html

+10
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@
6969
{% translate "Search" %}
7070
</a>
7171
</li>
72+
<li class="moj-primary-navigation__item">
73+
<a class="moj-primary-navigation__link" href="https://user-guide.find-moj-data.service.justice.gov.uk" rel="noreferrer noopener" target="_blank">
74+
{% translate "User guide" %}
75+
</a>
76+
</li>
77+
<li class="moj-primary-navigation__item">
78+
<a class="moj-primary-navigation__link" href="https://user-guide.find-moj-data.service.justice.gov.uk/#contact-us" rel="noreferrer noopener" target="_blank">
79+
{% translate "Contact us" %}
80+
</a>
81+
</li>
7282
</ul>
7383

7484
</nav>

0 commit comments

Comments
 (0)