-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[RW-920] 410 for expired jobs/training and remove title on 404
- Loading branch information
Showing
5 changed files
with
127 additions
and
19 deletions.
There are no files selected for viewing
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
Empty file.
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
71 changes: 71 additions & 0 deletions
71
html/themes/custom/common_design_subtheme/templates/layout/page--410.html.twig
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,71 @@ | ||
{% embed '@common_design/layout/page.html.twig' %} | ||
|
||
{% block header %} | ||
{% include '@common_design_subtheme/cd/cd-header/cd-header.html.twig' %} | ||
{% endblock %} | ||
|
||
{% block main %} | ||
|
||
{{ attach_library('common_design_subtheme/rw-useful-links') }} | ||
|
||
{# Link to skip to the main content is in html.html.twig #} | ||
<main role="main" id="main-content" class="cd-container"> | ||
|
||
<div class="cd-layout"> | ||
|
||
<div class="cd-layout__content"> | ||
|
||
<section class="rw-410"> | ||
<header> | ||
<h1 class="rw-page-title">{{ '410 - Gone'|t }}</h1> | ||
</header> | ||
{% if page.content.message is not empty %} | ||
<p><strong>{{ page.content.message }}</strong></p> | ||
{% endif %} | ||
<p>{{ 'Sorry for any inconvenience.'|t }}</p> | ||
<p>{{ 'Here are some useful pages to help you get back on track:'|t }}</p> | ||
<div class="rw-entity-useful-links"> | ||
<ul> | ||
<li> | ||
<a href="/">{{ 'Homepage'|t }}</a> | ||
<p>{{ 'View ongoing crises and latest headlines.'|t }}</p> | ||
</li> | ||
<li> | ||
<a href="/updates">{{ 'Updates'|t }}</a> | ||
<p>{{ 'Access the latest humanitarian reports, maps and infographics and an archive of more than 20 years of humanitarian information.'|t }}</p> | ||
</li> | ||
<li> | ||
<a href="/jobs">{{ 'Jobs'|t }}</a> | ||
<p>{{ 'Browse open job opportunities in the humanitarian field.'|t }}</p> | ||
</li> | ||
<li> | ||
<a href="/training">{{ 'Training'|t }}</a> | ||
<p>{{ 'Discover training opportunities in the humanitarian field.'|t }}</p> | ||
</li> | ||
<li> | ||
<a href="/help">{{ 'Help Section'|t }}</a> | ||
<p>{{ 'Find help on how to use the site, read terms and conditions, view the FAQs and API documentation.'|t }}</p> | ||
</li> | ||
</ul> | ||
</div> | ||
</section> | ||
|
||
</div>{# /.cd-layout__content #} | ||
|
||
</div> | ||
|
||
</main> | ||
{% endblock %} | ||
|
||
{% block footer_soft %} | ||
{% include '@common_design_subtheme/cd/cd-footer/cd-soft-footer.html.twig' %} | ||
{% endblock %} | ||
|
||
{% block footer %} | ||
{% include '@common_design_subtheme/cd/cd-footer/cd-footer.html.twig' %} | ||
{% endblock %} | ||
|
||
{% endembed %} | ||
|
||
|
||
|