docs/includes/error-404-deprecation-messa...

13 строки
751 B
HTML

{% if enterpriseVersions.deprecated contains currentVersion %}
{% assign deprecatedDate = enterpriseVersions.dates[currentVersion].deprecationDate %}
<div class="deprecation-banner border rounded-1 mb-2 bg-yellow-light p-3 border-yellow f5">
<p>
<b>
{% data reusables.enterprise_deprecation.version_was_deprecated %}
<span data-date="{{ deprecatedDate }}" data-format="%B %d, %Y" title="{{ deprecatedDate }}">{{ deprecatedDate }}</span>.
</b>
The documentation page you are looking for may have moved. Try going to the <a href="/{{ currentLanguage }}/enterprise/{{ currentVersion}}">GitHub Enterprise Server {{ currentVersion }} documentation homepage</a> or searching by keyword.
</p>
</div>
{% endif %}