mirror of
https://github.com/nextcloud/documentation.git
synced 2026-03-26 13:28:45 +07:00
Merge pull request #990 from nextcloud/enhancement/958/outdated-notice
[stable9] Provide a link to stable version of documentation
This commit is contained in:
@@ -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" %}
|
||||
|
||||
Reference in New Issue
Block a user