2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 05:36:46 +00:00
Oliver c23165307b
version banner fixes (#331)
* version banner fixes

* More context

* Banner tweaks

* Template fix

* HTML tweaks

* Banner simplificatio
2022-07-26 15:08:15 +10:00

15 lines
614 B
HTML

{% if config.version_banner %}
<div class='md-banner md-banner--warning'>
<div class='md-grid md-typeset'>
<small>
{% if config.readthedocs.version == 'latest' %}
This documentation is for the <em>development</em> version of InvenTree, which may be significantly different from the stable releases.
{% else %}
This documentation is for an outdated version of InvenTree.
{% endif %}
For <em>stable</em> release documentation, use the version selector located in the bottom right corner of this page.
</small>
</div>
</div>
{% endif %}