Provide a link to stable version of documentation

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke
2018-12-03 14:11:34 +01:00
parent 5a08993d6a
commit e6819468d5

View File

@@ -79,6 +79,22 @@
</nav>
</div>
</header>
{% if project == "Nextcloud 9 Server Administration Manual" %}
<div class="container" style="background-color: #E6C4C2;color: #b10000;border: #b10000 2px solid;border-right: none;border-left: none;padding: 15px 10px;">You are reading an outdated version of this documentation. Please check out the <a href="https://docs.nextcloud.com/server/stable/admin_manual/" style="
color: rgb(177,0,0);text-decoration: underline;">latest version</a> of the server administration manual.</div>
{% else %}
{% if project == "Nextcloud 9 User Manual" %}
<div class="container" style="background-color: #E6C4C2;color: #b10000;border: #b10000 2px solid;border-right: none;border-left: none;padding: 15px 10px;">You are reading an outdated version of this documentation. Please check out the <a href="https://docs.nextcloud.com/server/stable/user_manual/" style="
color: rgb(177,0,0);text-decoration: underline;">latest version</a> of the user manual.</div>
{% else %}
{% if project == "Nextcloud Developer Manual" %}
<div class="container" style="background-color: #E6C4C2;color: #b10000;border: #b10000 2px solid;border-right: none;border-left: none;padding: 15px 10px;">You are reading an outdated version of this documentation. Please check out the <a href="https://docs.nextcloud.com/server/stable/developer_manual/" style="
color: rgb(177,0,0);text-decoration: underline;">latest version</a> of the developer manual.</div>
{% endif %}
{% endif %}
{% endif %}
{% endmacro %}
{% if theme_bootstrap_version == "3" %}