1
0
mirror of synced 2026-01-03 06:04:16 -05:00
Files
docs/includes/error-404-deprecation-message.html
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00

13 lines
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 %}