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

updates for homepage design and add help us grow section #724

Merged
merged 11 commits into from
Aug 28, 2024
76 changes: 56 additions & 20 deletions locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Find MoJ data\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-22 11:59+0100\n"
"POT-Creation-Date: 2024-08-28 09:32+0100\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -192,23 +192,11 @@ msgstr ""
msgid "Support links"
msgstr "Support links"

#: templates/base/footer.html:10
msgid "Help"
msgstr "Help"

#: templates/base/footer.html:15
#: templates/base/footer.html:10 templates/cookies.html:10
msgid "Cookies"
msgstr "Cookies"

#: templates/base/footer.html:20
msgid "Contact"
msgstr "Contact"

#: templates/base/footer.html:25
msgid "Terms and conditions"
msgstr "Terms and conditions"

#: templates/base/footer.html:42
#: templates/base/footer.html:27
#, python-format
msgid ""
"All content is available under the <a class=\"govuk-footer__link\" "
Expand All @@ -219,7 +207,7 @@ msgstr ""
"href=\"%(href)s\" rel=\"license\">Open Government Licence v3.0</a>, except "
"where otherwise stated"

#: templates/base/footer.html:52
#: templates/base/footer.html:37
#, python-format
msgid ""
"<a class=\"govuk-footer__link govuk-footer__copyright-logo\" "
Expand All @@ -232,7 +220,7 @@ msgstr ""
msgid "Ministry of Justice"
msgstr "Ministry of Justice"

#: templates/base/navigation.html:18 templates/home.html:11
#: templates/base/navigation.html:18
msgid "Find MOJ data"
msgstr "Find MoJ data"

Expand Down Expand Up @@ -359,14 +347,53 @@ msgstr "Filter this page"
msgid "Skip to glossary content"
msgstr "Skip to glossary content"

#: templates/home.html:17
#: templates/home.html:11
msgid "Discover data from across the Ministry of Justice"
msgstr "Discover data from across the Ministry of Justice"

#: templates/home.html:12
#, fuzzy
#| msgid ""
#| "Find MoJ data shows you what data exists and how to access it. <a "
#| "style=\"color: white;\" href=\"https://user-guide.find-moj-data.service."
#| "justice.gov.uk/\">Learn more</a>"
msgid ""
murdo-moj marked this conversation as resolved.
Show resolved Hide resolved
"Find MoJ data shows you what data exists and how to access it. <a style=\\"
msgstr ""
"Find MoJ data shows you what data exists and how to access it. <a "
"style=\"color: white;\" href=\"https://user-guide.find-moj-data.service."
"justice.gov.uk/\">Learn more</a>"
murdo-moj marked this conversation as resolved.
Show resolved Hide resolved

#: templates/home.html:18
msgid "Search metadata catalogue"
msgstr "Search metadata catalogue"
msgstr "Search for data"

#: templates/home.html:50
#: templates/home.html:51
msgid "Browse by domain"
msgstr "Browse by subject area"

#: templates/home.html:59
msgid "Help us grow"
msgstr "Help us grow"

#: templates/home.html:60
msgid ""
"Find MoJ data is a new service with a growing catalogue of data. You can "
"help us improve the service by:"
msgstr ""

#: templates/home.html:62
msgid "adding a new data source"
msgstr "adding a new data source"

#: templates/home.html:63
msgid "telling us about data you would like to see"
msgstr "telling us about data you would like to see"

#: templates/home.html:64
msgid "giving us feedback"
msgstr "giving us feedback"

#: templates/partial/contact_info.html:4
msgid "Access requirements"
msgstr "Request access"
Expand Down Expand Up @@ -556,3 +583,12 @@ msgstr "first name"
#: users/models.py:12
msgid "last name"
msgstr "last name"

murdo-moj marked this conversation as resolved.
Show resolved Hide resolved
#~ msgid "Help"
#~ msgstr "Help"

#~ msgid "Contact"
#~ msgstr "Contact"

#~ msgid "Terms and conditions"
#~ msgstr "Terms and conditions"
11 changes: 10 additions & 1 deletion templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
<div class="govuk-width-container app-width-container">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl app-masthead__title">{% translate "Find MOJ data" %}</h1>
<h1 class="govuk-heading-xl app-masthead__title">{% translate "Discover data from across the Ministry of Justice" %}</h1>
<p class="govuk-body-l" style="color: white;"> {% translate "Find MoJ data shows you what data exists and how to access it. <a style=\"color: white;\" href=\"https://user-guide.find-moj-data.service.justice.gov.uk/\">Learn more</a>" %} </p>

<form action="{% url 'home:search' %}" method="get" role="search" class="govuk-!-margin-bottom-0">
<label
Expand Down Expand Up @@ -54,6 +55,14 @@ <h2 id="browse-by-domain" class="govuk-heading-l">{% translate "Browse by domain
{% endfor %}
</ul>
{% endif %}
<hr class="govuk-section-break govuk-section-break--xl govuk-section-break--visible">
<h2 class="govuk-heading-l">{% translate "Help us grow" %} </h2>
<p class="govuk-body-m">{% translate "Find MoJ data is a new service with a growing catalogue of data. You can help us improve the service by:" %}</p>
<ul class="govuk-list govuk-list--bullet">
<li><a href="https://user-guide.find-moj-data.service.justice.gov.uk/#adding-to-find-moj-data">{% translate "adding a new data source" %}</a></li>
<li><a href="https://user-guide.find-moj-data.service.justice.gov.uk/#contact-us">{% translate "telling us about data you would like to see" %}</a></li>
<li><a href="https://find-moj-data.service.justice.gov.uk/feedback/">{% translate "giving us feedback" %}</a></li>
</ul>
</div>
</div>
</main>
Expand Down