diff --git a/view/changes.twig b/view/changes.twig index 94a47fd3a..55bf1aa4a 100644 --- a/view/changes.twig +++ b/view/changes.twig @@ -19,9 +19,9 @@ {% endif %} {% if vocab.config.showChangeList %} - {% if vocab.config.showDeprecatedChanges %} {% set css_class = ['nav-link'] %} {% set css_class = css_class|merge(['active']) %} + {% if vocab.config.showDeprecatedChanges %}

{% trans "List vocabulary concepts by newest additions including removed" %}

{% else %} diff --git a/view/group-contents.twig b/view/group-contents.twig index 8ca52d2b5..91aa4f3fb 100644 --- a/view/group-contents.twig +++ b/view/group-contents.twig @@ -20,11 +20,11 @@ {% endif %} {% if vocab.config.showChangeList %} + {% set css_class = ['nav-link'] %} {% if vocab.config.showDeprecatedChanges %}

{% trans "List vocabulary concepts by newest additions including removed" %}

  • {% trans "Changes-and-deprecations-nav" %}
  • {% else %} - {% set css_class = ['nav-link'] %}

    {% trans "List vocabulary concepts by newest additions" %}

    {% endif %} diff --git a/view/group-index.twig b/view/group-index.twig index 877e850d7..3ed708de6 100644 --- a/view/group-index.twig +++ b/view/group-index.twig @@ -19,11 +19,11 @@ {% endif %} {% if vocab.config.showChangeList %} + {% set css_class = ['nav-link'] %} {% if vocab.config.showDeprecatedChanges %}

    {% trans "List vocabulary concepts by newest additions including removed" %}

  • {% trans "Changes-and-deprecations-nav" %}
  • {% else %} - {% set css_class = ['nav-link'] %}

    {% trans "List vocabulary concepts by newest additions" %}

    {% endif %} diff --git a/view/light.twig b/view/light.twig index 99528bb0b..f38c53211 100644 --- a/view/light.twig +++ b/view/light.twig @@ -68,8 +68,8 @@ {% endif %} {% if vocab.config.showChangeList %} - {% if vocab.config.showDeprecatedChanges %} {% if active_tab == 'new' %}{% set css_class = css_class|merge(['active']) %}{% endif %} + {% if vocab.config.showDeprecatedChanges %}

    {% trans "List vocabulary concepts by newest additions including removed" %}

    {% else %}