mirror of
https://github.com/boostorg/website-v2.git
synced 2026-02-23 16:22:08 +00:00
20 lines
1.0 KiB
HTML
20 lines
1.0 KiB
HTML
{% if version_alert %}
|
|
<div role="alert" class="version_alert">
|
|
<p>
|
|
<i class="fas fa-exclamation-circle"></i>
|
|
{% if selected_version == current_version %}
|
|
You've currently chosen the {{ current_version.display_name }} version. If a newer release comes out, you will continue to view the {{ current_version.display_name }} version, not the new <a href="{{ version_alert_url }}" class="font-semibold underline dark:text-white text-charcoal">latest release</a>.
|
|
{% else %}
|
|
{% if selected_version.beta %}
|
|
This is a beta version of Boost.
|
|
{% elif selected_version.full_release %}
|
|
This is an older version of Boost and was released in {{ selected_version.release_date|date:"Y"}}.
|
|
{% else %}
|
|
This version of Boost is under active development. You are currently in the {{ selected_version.display_name }} branch.
|
|
{% endif %}
|
|
The <a href="{{ version_alert_url }}">current version</a> is {{ current_version.display_name }}.
|
|
{% endif %}
|
|
</p>
|
|
</div>
|
|
{% endif %}
|