Merge pull request #991 from nextcloud/enhancement/958/outdated-notice-10

[stable10] Provide a link to stable version of documentation
This commit is contained in:
Morris Jobke
2018-12-03 14:25:15 +01:00
committed by GitHub

View File

@@ -79,6 +79,22 @@
</nav>
</div>
</header>
{% if project == "Nextcloud 10 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 10 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" %}