chore: format docs template

environments/review-docs-docs-jzd968/deployments/16992
jo 2023-01-30 12:25:25 +01:00 zatwierdzone przez Ciarán Ainsworth
rodzic abe3ed7d18
commit c27ec0a1bd
1 zmienionych plików z 21 dodań i 17 usunięć

Wyświetl plik

@ -2,24 +2,28 @@
{% block document %}
{% if language is not none %}
<div class="translation-hint">
<i class="fa fa-times" id="translation-closer" aria-hidden="true"></i>
<h1>Something wrong with the translation?</h1>
<p>Help us to improve it on our <a href="
https://translate.funkwhale.audio/projects/documentation/{{ pagename |
replace("/", "-") }}" target="_blank">translation platform</a></p>
</div>
{% endif %}
{% if language is not none %}
<div class="translation-hint">
<i class="fa fa-times" id="translation-closer" aria-hidden="true"></i>
<h1>Something wrong with the translation?</h1>
<p>
Help us to improve it on our
<a
href="https://translate.funkwhale.audio/projects/documentation/{{ pagename | replace("/", "-") }}"
target="_blank">translation platform</a>
</p>
</div>
{% endif %}
{% if current_version and current_version.name == "develop" %}
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This documentation only applies for the development version of
Funkwhale! <a href="{{ vpathto('stable') }}">Visit the docs for the latest
release.</a></p>
</div>
{% endif %}
{% if current_version and current_version.name == "develop" %}
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>
This documentation only applies for the development version of Funkwhale!
<a href="{{ vpathto('stable') }}">Visit the docs for the latest release.</a>
</p>
</div>
{% endif %}
{{ super() }}