Skip to content

Commit

Permalink
Update 't...' to 'page.t...' in include files
Browse files Browse the repository at this point in the history
  • Loading branch information
brockfanning committed Aug 5, 2020
1 parent 2d842fe commit 76e2c94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions _includes/components/dev-disclaimer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
<div class="row alert" role="alert">
{%- if site.environment == 'staging' -%}
<div class="col-sm-9 col-md-6">
{{ t.usa.disclaimer_staging }}
{{ page.t.usa.disclaimer_staging }}
</div>
<div class="col-md-3 hidden-xs hidden-sm">
{{ t.usa.work_in_progress }}
{{ page.t.usa.work_in_progress }}
</div>
<div class="col-sm-3 text-right hidden-xs">
<a class="btn btn-default btn-xs" href="{{ site.baseurl }}{{ baseurl_folder }}{% link _pages/admin.md %}">
{{ t.usa.login_logout }}
{{ page.t.usa.login_logout }}
</a>
</div>
{%- else -%}
<div class="col-md-9">
{{ t.usa.disclaimer_production }}
{{ page.t.usa.disclaimer_production }}
</div>
<div class="col-md-3 hidden-xs hidden-sm text-right">
{{ t.usa.work_in_progress }}
{{ page.t.usa.work_in_progress }}
</div>
{%- endif -%}
</div>
Expand Down
4 changes: 2 additions & 2 deletions _includes/components/indicator-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
{% if data_notice_end > site_generated_timestamp %}

<div class="alert warning" >
<h4>{{ t.data_notice.data_notice }}</h4>
<p>{{ t.data_notice[sdg_data_notice.notice] }}</p>
<h4>{{ page.t.data_notice.data_notice }}</h4>
<p>{{ page.t.data_notice[sdg_data_notice.notice] }}</p>
</div>

{% endif %}
Expand Down

0 comments on commit 76e2c94

Please sign in to comment.