Skip to content

Commit

Permalink
Corrected some minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
coleweusthem committed Mar 10, 2021
1 parent 7ccfa56 commit 698572f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ckanext/csa/templates/package/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{%if h.lang()=='en'%}
<h1>CSA Open Government Portal</h1>
{%else%}
<h1>Portail du gouvernement ouvert de L'ASC</h1>
<h1>Portail du gouvernement ouvert de l'ASC</h1>
{%endif%}
{% endif %}
{% endblock %}
Expand Down
4 changes: 3 additions & 1 deletion ckanext/csa/templates/snippets/home_breadcrumb_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<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">Gouvernement ouvert</a></li>
<li>{{ h.dataset_display_name(pkg) }}</li>
{% if pkg %}
<li>{{ h.dataset_display_name(pkg) }}</li>
{% endif %}
{% endif %}
<!--template/snippets/home_breadcrumb.html end-->
4 changes: 2 additions & 2 deletions ckanext/csa/templates/snippets/package_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -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 %}
Expand Down
4 changes: 2 additions & 2 deletions ckanext/csa/templates/snippets/search_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@

{% block search_title %}
{% if not error %}
<h1>{% snippet 'snippets/search_result_text.html', query=query, count=count, type=type %}</h1>
<h2>{% snippet 'snippets/search_result_text.html', query=query, count=count, type=type %}</h2>
{% else %}
<h1>Error</h1>
<h2>Error</h2>
{% endif %}
{% endblock %}

Expand Down

0 comments on commit 698572f

Please sign in to comment.