Skip to content

Commit

Permalink
Merge pull request #1396 from open-data/footer
Browse files Browse the repository at this point in the history
revise footer for updated wet/gcweb templates
  • Loading branch information
RabiaSajjad authored Jul 28, 2023
2 parents 86bffdc + b1a3d19 commit 5468cd3
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 45 deletions.
104 changes: 104 additions & 0 deletions ckanext/canada/i18n/fr/LC_MESSAGES/ckanext-canada.po
Original file line number Diff line number Diff line change
Expand Up @@ -1403,6 +1403,110 @@ msgid "{actor} deleted the record {datastore} {datastore_detail}"
msgstr "{actor} a supprimé le jeu de données {datastore} {datastore_detail}"

# Footer links
msgid "About this site"
msgstr "À propos de ce site"

msgid "All Contacts"
msgstr "Toutes les coordonnées"

msgid "Immigration and citizenship"
msgstr "Immigration et citoyenneté"

msgid "https://www.canada.ca/en/services/immigration-citizenship.html"
msgstr "https://www.canada.ca/fr/services/immigration-citoyennete.html"

msgid "Travel and tourism"
msgstr "Voyage et tourisme"

msgid "https://travel.gc.ca/"
msgstr "https://voyage.gc.ca/"

msgid "Environment and natural resources"
msgstr "Environnement et ressources naturelles"

msgid "https://www.canada.ca/en/services/environment.html"
msgstr "https://www.canada.ca/fr/services/environnement.html"

msgid "National security and defence"
msgstr "Sécurité nationale et défense"

msgid "https://www.canada.ca/en/services/defence.html"
msgstr "https://www.canada.ca/fr/services/defense.html"

msgid "Culture, history and sport"
msgstr "Culture, histoire et sport"

msgid "https://www.canada.ca/en/services/culture.html"
msgstr "https://www.canada.ca/fr/services/culture.html"

msgid "Policing, justice and emergencies"
msgstr "Services de police, justice et urgences"

msgid "https://www.canada.ca/en/services/policing.html"
msgstr "https://www.canada.ca/fr/services/police.html"

msgid "Transport and infrastructure"
msgstr "Transport et infrastructure"

msgid "https://www.canada.ca/en/services/transport.html"
msgstr "https://www.canada.ca/fr/services/transport.html"

msgid "Canada and the world"
msgstr "Le Canada et le monde"

msgid "https://international.gc.ca/world-monde/index.aspx?lang=eng"
msgstr "https://international.gc.ca/world-monde/index.aspx?lang=fra"

msgid "Money and finance"
msgstr "Argent et finance"

msgid "https://www.canada.ca/en/services/finance.html"
msgstr "https://www.canada.ca/fr/services/finance.html"

msgid "Science and innovation"
msgstr "Science et innovation"

msgid "https://www.canada.ca/en/services/science.html"
msgstr "https://www.canada.ca/fr/services/science.html"

msgid "Indigenous peoples"
msgstr "Autochtones"

msgid "https://www.canada.ca/en/services/indigenous-peoples.html"
msgstr "https://www.canada.ca/fr/services/autochtones.html"

msgid "Veterans and military"
msgstr "Vétérans et militaires"

msgid "https://www.canada.ca/en/services/veterans.html"
msgstr "https://www.canada.ca/fr/services/veterans.html"

msgid "Youth"
msgstr "Jeunesse"

msgid "https://www.canada.ca/en/services/youth.html"
msgstr "https://www.canada.ca/fr/services/jeunesse.html"

msgid "Government of Canada Corporate"
msgstr "Organisation du gouvernement du Canada"
msgid "https://www.canada.ca/en/services/jobs.html"
msgstr "https://www.canada.ca/fr/services/entreprises.html"

msgid "https://www.canada.ca/en/services/business.html"
msgstr "https://www.canada.ca/fr/services/entreprises.html"

msgid "https://www.canada.ca/en/services/benefits.html"
msgstr "https://www.canada.ca/fr/services/prestations.html"

msgid "https://www.canada.ca/en/services/health.html"
msgstr "https://www.canada.ca/fr/services/sante.html"

msgid "https://www.canada.ca/en/services/taxes.html"
msgstr "https://www.canada.ca/fr/services/impots.html"

msgid "https://www.canada.ca/en/government/about.html"
msgstr "https://www.canada.ca/fr/gouvernement/a-propos.html"

msgid "Contact Open Government"
msgstr "Contactez-nous du gouvernement ouvert"

Expand Down
99 changes: 54 additions & 45 deletions ckanext/canada/templates/public/footer.html
Original file line number Diff line number Diff line change
@@ -1,53 +1,62 @@


<footer id="wb-info">
{% block footer_content %}
<div class="landscape">
<div class="region region-footer">
<nav id="block-gcweb-footer" class="container wb-navcurr">
<h2>About government</h2>
<ul class="list-unstyled colcount-sm-2 colcount-md-3">
{% block foot_content_inner %}
<li><a href="{{ _('https://open.canada.ca/en/forms/contact-us') }}" class="gl-footer">{{ _( 'Contact Open Government') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/government/dept.html') }}">{{ _('Departments and agencies') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/government/publicservice.html') }}">{{ _('Public service and military') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/news.html') }}">{{ _('News') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/government/system/laws.html') }}">{{ _('Treaties, laws and regulations') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/transparency/reporting.html') }}">{{ _('Government-wide reporting') }}</a></li>
<li><a href=" {{ _('http://pm.gc.ca/eng') }}">{{ _('Prime Minister') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/government/system.html') }}">{{ _('About government') }}</a></li>
<li><a href="{{ _('https://open.canada.ca/en') }}">{{ _('Open government') }}</a></li>
{% endblock %}
</ul>
</nav>
</div>
</div>
<div class="brand">
<div class="container">
<div class="row">
<div class="region region-branding">
<nav id="block-brand" class="col-md-10 ftr-urlt-lnk">
<h2 class="visually-hidden wb-inv" id="block-brand-menu">Brand</h2>
<ul>
{% block foot_brand_inner %}
<li class="first"><a href="{{ _('https://www.canada.ca/en/social.html') }}">{{ _('Social media') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/mobile.html') }}">{{ _('Mobile applications') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/government/about.html') }}">{{ _('About Canada.ca') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/transparency/terms.html') }}">{{ _('Terms and conditions') }}</a></li>
<li class="last"><a href="{{ _('https://www.canada.ca/en/transparency/privacy.html') }}">{{ _('Privacy') }}</a></li>
{% endblock %}
</ul>
</nav>
</div>
<div class="col-xs-6 visible-sm visible-xs tofpg">
<a href="#wb-cont">{{ _('About this site')}} <i class="fa fa-chevron-up" aria-hidden="true"></i></a>
<h2 class="wb-inv">{{ _('About this site') }}</h2>
{% block foot_content_inner %}
<div id="transactFooter" class="gc-main-footer">
<div class="container">
<nav>
<h3>{{ _('Government of Canada') }}</h3>
<ul class="list-col-xs-1 list-col-sm-2 list-col-md-3">
<li><a href="{{ _('https://www.canada.ca/en/contact.html') }}">{{ _('All Contacts') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/government/dept.html') }}">{{ _('Departments and agencies') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/government/system.html') }}">{{ _('About government') }}</a></li>
</ul>
<h4><span class="wb-inv">{{ _('Themes and topics') }}</span></h4>
<ul class="list-unstyled colcount-sm-2 colcount-md-3">
<li><a href="{{ _('https://www.canada.ca/en/services/jobs.html') }}">{{ _('Jobs') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/immigration-citizenship.html') }}">{{ _('Immigration and citizenship') }}</a></li>
<li><a href="{{ _('https://travel.gc.ca/') }}">{{ _('Travel and tourism') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/business.html') }}">{{ _('Business') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/benefits.html') }}">{{ _('Benefits') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/health.html') }}">{{ _('Health') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/taxes.html') }}">{{ _('Taxes') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/environment.html') }}">{{ _('Environment and natural resources') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/defence.html') }}">{{ _('National security and defence') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/culture.html') }}">{{ _('Culture, history and sport') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/policing.html') }}">{{ _('Policing, justice and emergencies') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/transport.html') }}">{{ _('Transport and infrastructure') }}</a></li>
<li><a href="{{ _('https://international.gc.ca/world-monde/index.aspx?lang=eng') }}">{{ _('Canada and the world') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/finance.html') }}">{{ _('Money and finance') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/science.html') }}">{{ _('Science and innovation') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/indigenous-peoples.html') }}">{{ _('Indigenous peoples') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/veterans.html') }}">{{ _('Veterans and military') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/services/youth.html') }}">{{ _('Youth') }}</a></li>
</ul>
</nav>
</div>
<div class="col-xs-6 col-md-2 text-right">
<object type="image/svg+xml" tabindex="-1" role="img" data="{{ h.url_for_wet_theme('/assets/wmms-blk.svg') }}" aria-label="{{ _('Symbol of the Government of Canada') }}"></object>
</div>
</div>
{% endblock %}

<div class="gc-sub-footer">
<div class="container d-flex align-items-center">
{% block foot_brand_inner %}
<nav>
<h3 class="wb-inv">{{ _('Government of Canada Corporate') }}</h3>
<ul>
<li><a href="{{ _('https://www.canada.ca/en/social.html') }}">{{ _('Social media') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/mobile.html') }}">{{ _('Mobile applications') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/government/about.html') }}">{{ _('About Canada.ca') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/transparency/terms.html') }}">{{ _('Terms and conditions') }}</a></li>
<li><a href="{{ _('https://www.canada.ca/en/transparency/privacy.html') }}">{{ _('Privacy') }}</a></li>
</ul>
</nav>
{% endblock %}

<div class="wtrmrk align-self-end">
<img src="{{ h.url_for_wet_theme('/assets/wmms-blk.svg') }}" alt="{{ _('Symbol of the Government of Canada') }}">
</div>
</div>
</div>
</div>
{% endblock %}
</footer>

Expand Down

0 comments on commit 5468cd3

Please sign in to comment.