Skip to content

Commit

Permalink
version warning: change wording (inspired on Jinja docs)
Browse files Browse the repository at this point in the history
  • Loading branch information
j1elo committed Sep 30, 2021
1 parent 8f672b8 commit 281824e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/common/version-warning.html
Expand Up @@ -50,10 +50,17 @@
}
</style>

<!--
TODO: Improvement: when we change "latest" to point to the development version,
the message could be changed to this:
Warning: You are reading docs for a development version.
GO TO LATEST STABLE VERSION
-->

<div id="version-warning" class="alert" style="display: none">
<span class="warning-text">Documentation of an old version</span>
<span class="warning-text"><strong>Warning:</strong> You are reading docs for an old version.</span>
<div class="div-btns">
<span><a id="link-to-stable" class="alert-btn">GO TO LATEST VERSION</a></span>
<span><a id="link-to-stable" class="alert-btn">GO TO LATEST STABLE VERSION</a></span>
</div>
</div>

Expand Down

0 comments on commit 281824e

Please sign in to comment.