{% if currentLanguage != 'en' %} {% assign translation_notification_type = "true" %} {% if page.relativePath contains '/site-policy/' %} {% assign translation_notification = site.data.reusables.policies.translation %} {% elsif languages[currentLanguage].wip != true %} {% assign translation_notification = site.data.ui.header.notices.localization_complete %} {% elsif languages[currentLanguage].wip %} {% assign translation_notification = site.data.ui.header.notices.localization_in_progress %} {% endif %} {% endif %} {% if currentVersion == "github-ae@latest" %} {% assign release_notification_type = "true" %} {% assign release_notification = site.data.ui.header.notices.ghae_silent_launch %} {% elsif currentVersion == site.data.variables.release_candidate.version %} {% assign release_notification_type = "true" %} {% assign release_notification = allVersions[currentVersion].versionTitle | append: site.data.ui.header.notices.release_candidate %} {% endif %} {% if page.hidden and page.relativePath contains "early-access/" %} {% assign early_access_notification_type = true %} {% assign early_access_notification = site.data.ui.header.notices.early_access %} {% endif %} {% if translation_notification_type %}
{{ translation_notification }}
{% endif %} {% if release_notification_type %}
{{ release_notification }}
{% endif %} {% if early_access_notification_type %}
{{ early_access_notification }}
{% endif %}