diff --git a/shared/templates/styleguide2/includes/molecules/program/program_block.html b/shared/templates/styleguide2/includes/molecules/program/program_block.html index 95aba9a5e25d87c19f94dae274f8884725d53ced..6437be41a0755f7e470bbc6f9cf9805f67f303be 100644 --- a/shared/templates/styleguide2/includes/molecules/program/program_block.html +++ b/shared/templates/styleguide2/includes/molecules/program/program_block.html @@ -83,11 +83,13 @@ v-slot="{ isCurrentSecondaryView, toggleSecondaryView }" > <div class="bg-white py-12 container--wide text-center"> - <a - @click="toggleSecondaryView('candidates')" - class="switch__item--program inline-block" - :class="{'switch__item--active': isCurrentSecondaryView('candidates')}" - >{{ self.candidates_title }}</a> + {% if self.program or self.other_views or self.tab_links %} + <a + @click="toggleSecondaryView('candidates')" + class="switch__item--program inline-block" + :class="{'switch__item--active': isCurrentSecondaryView('candidates')}" + >{{ self.candidates_title }}</a> + {% endif %} {% if self.program %} <a