Skip to content

Commit

Permalink
Classification specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
benji-glitsos-ga committed Oct 2, 2024
1 parent 73187ba commit 48a05f3
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions docs/_templates/product-v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,12 @@
* - **Last updated**
- {{ page.data.published }}
{%- endif %}
{%- if page.data.licence %}
{%- if page.data.licence.name and page.data.licence.link %}
* - **Licence**
- `{{ page.data.licence.name }} <{{ page.data.licence.link }}>`_
{%- endif %}
{%- endif %}
{%- if page.data.parent_products %}
{%- if page.data.parent_products.name and page.data.parent_products.link %}
* - **Parent product(s)**
Expand All @@ -329,12 +335,6 @@
* - **Tags**
- {{ tags_list_component }}
{%- endif %}
{%- if page.data.licence %}
{%- if page.data.licence.name and page.data.licence.link %}
* - **Licence**
- `{{ page.data.licence.name }} <{{ page.data.licence.link }}>`_
{%- endif %}
{%- endif %}
{%- endif %}

{% if page.data.citations %}
Expand Down Expand Up @@ -573,39 +573,43 @@
- `{{ page.data.ecat_id }} <https://ecat.ga.gov.au/geonetwork/srv/eng/catalog.search#/metadata/{{ page.data.ecat_id }}>`_
- The eCat ID (for internal use).
{%- endif %}
{%- if page.data.licence %}
{%- if page.data.licence.name and page.data.licence.link and page.data.enable_credits %}
* - **Licence**
- `{{ page.data.licence.name }} <{{ page.data.licence.link }}>`_
- See the `Credits tab <./?tab=credits>`_.
{%- elif page.data.licence.name and page.data.licence.link %}
* - **Licence**
- `{{ page.data.licence.name }} <{{ page.data.licence.link }}>`_
-
{%- endif %}
{%- endif %}

.. rubric:: Classification
:name: classification-specifications
:class: h2

.. list-table::
:name: classification-specifications-table

{%- if page.data.parent_products %}
{%- if page.data.parent_products.name and page.data.parent_products.link %}
* - **Parent product(s)**
- `{{ page.data.parent_products.name }} <{{ page.data.parent_products.link }}>`_
-
{%- endif %}
{%- endif %}
{%- if page.data.collection %}
{%- if page.data.collection.name and page.data.collection.link %}
* - **Collection**
- `{{ page.data.collection.name }} <{{ page.data.collection.link }}>`_
-
{%- elif page.data.collection.name %}
* - **Collection**
- {{ page.data.collection.name }}
-
{%- endif %}
{%- endif %}
{%- if tags_list %}
* - **Tags**
- {{ tags_list_component }}
-
{%- endif %}
{%- if page.data.licence %}
{%- if page.data.licence.name and page.data.licence.link and page.data.enable_credits %}
* - **Licence**
- `{{ page.data.licence.name }} <{{ page.data.licence.link }}>`_
- See the `Credits tab <./?tab=credits>`_.
{%- elif page.data.licence.name and page.data.licence.link %}
* - **Licence**
- `{{ page.data.licence.name }} <{{ page.data.licence.link }}>`_
-
{%- endif %}
{%- endif %}

{% endif %}
Expand Down

0 comments on commit 48a05f3

Please sign in to comment.