Youen
1 year ago
2 changed files with 21 additions and 2 deletions
@ -0,0 +1,18 @@
|
||||
{% extends "!page.html" %} |
||||
{% block body %} |
||||
{% if current_version and latest_version and current_version != latest_version %} |
||||
<div class="warning admonition"> |
||||
<p class="admonition-title">Attention</p> |
||||
<p> |
||||
{% if current_version.is_released %} |
||||
Ceci est une ancienne version de la documentation. |
||||
La dernière version est la <a href="{{ vpathto(latest_version.name) }}">{{latest_version.name}}</a>. |
||||
{% else %} |
||||
Ceci est une version en cours de développement. |
||||
La dernière version stable est la <a href="{{ vpathto(latest_version.name) }}">{{latest_version.name}}</a>. |
||||
{% endif %} |
||||
</p> |
||||
</div> |
||||
{% endif %} |
||||
{{ super() }} |
||||
{% endblock %} |
Loading…
Reference in new issue