-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from asc-csa/Development
Merge Development into master. Addresses all conformity issues identified in the third communications review.
- Loading branch information
Showing
14 changed files
with
94 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ckanext/csa/templates/header_embeds.html | ||
ckanext/csa/templates/footer_embeds.html |
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
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
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,5 @@ | ||
<!-- | ||
Instructions | ||
Make a copy of this file, remove the '.example' extension and replace the contents with any html you would like to appear | ||
in the footer. This is intended for scripts such as analytic trackers. | ||
--> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!-- | ||
Instructions | ||
Make a copy of this file, remove the '.example' extension and replace the contents with any html you would like to appear | ||
in the footer. This is intended for scripts such as analytic trackers. | ||
--> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
<!--template/snippets/home_breadcrumb.html start--> | ||
{% set pkg = c.pkg_dict %} | ||
{% set res = c.resource %} | ||
{# Used to insert the home icon into a breadcrumb #} | ||
{% if h.lang() == 'en' %} | ||
<li><a href="https://www.canada.ca/en.html">Canada.ca</a></li> | ||
<li><a href="https://www.asc-csa.gc.ca/eng/Default.asp">Canadian Space Agency</a></li> | ||
<li id="wb-cont"><a href="/en">Open Data</a></li> | ||
<li id="wb-cont"><a href="/en">Open Government</a></li> | ||
{% if pkg %} | ||
<li>{{ h.dataset_display_name(pkg) }}</li> | ||
{% endif %} | ||
{% else %} | ||
<li><a href="https://www.canada.ca/fr.html">Canada.ca</a></li> | ||
<li><a href="https://www.asc-csa.gc.ca/fra/Default.asp">Agence spatiale canadienne</a></li> | ||
<li id="wb-cont"><a href="/fr/dataset">Données ouvertes</a></li> | ||
<li id="wb-cont"><a href="/fr/dataset">Gouvernement ouvert</a></li> | ||
{% if pkg %} | ||
<li>{{ h.dataset_display_name(pkg) }}</li> | ||
{% endif %} | ||
{% endif %} | ||
<!--template/snippets/home_breadcrumb.html end--> |
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
<article class="panel panel-default mrgn-bttm-sm relative"> | ||
<header class="panel-heading" style="background-color: white;"> | ||
|
||
<h2 class="panel-title"> | ||
<h3 class="panel-title"> | ||
{% block heading %} | ||
{% set my_title, machine_translated = h.csa_get_translated_t(package, 'title') %} | ||
{% if 'title_translated' not in package %} | ||
|
@@ -23,7 +23,7 @@ <h2 class="panel-title"> | |
<i class="fa fa-language text-muted mrgn-lft-sm" title="{{ _("This third party metadata element has been translated using an automated translation tool (DeepL). To report any discrepancies please contact [email protected]") }}"></i> | ||
{% endif %} | ||
{% endblock %} | ||
</h2></header> | ||
</h3></header> | ||
|
||
<div class="panel-body"> | ||
{% block banner %} | ||
|
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