Skip to content

Commit

Permalink
Create metadata-tabs-default.html
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscalleja3 authored Aug 19, 2024
1 parent 3cec36f commit 4e688ee
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions _includes/components/indicator/metadata-tabs-default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{% if page.indicator.proxy %}
<li role="presentation" class="nav-item">
<button type="button" class="nav-link active" data-bs-toggle="tab" id="tab-national" data-bs-target="#national" aria-controls="national" role="tab" {% include autotrack.html preset="tab_meta_national" category="Tab change" action="Change metadata view" label="Change to National Metadata tab" %}>{{ page.t.indicator.national_metadata }}</button>
</li>
{% endif %}
{% unless page.indicator.standalone %}
<li role="presentation" class="nav-item">
<button type="button" class="nav-link" data-bs-toggle="tab" id="tab-global" data-bs-target="#global" aria-controls="global" role="tab" {% include autotrack.html preset="tab_meta_global" category="Tab change" action="Change metadata view" label="Change to Global Metadata tab" %}>{{ page.t.indicator.global_metadata }}</button>
</li>
{% endunless %}
<li role="presentation" class="nav-item">
<button type="button" class="nav-link" data-bs-toggle="tab" id="tab-sources" data-bs-target="#sources" aria-controls="sources" role="tab" {% include autotrack.html preset="tab_meta_sources" category="Tab change" action="Change metadata view" label="Change to Sources tab" %}>{{ page.t.indicator.sources }}</button>
</li>

0 comments on commit 4e688ee

Please sign in to comment.