forked from SciTools/iris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,36 @@ | ||
|
||
{% if on_rtd %} | ||
{% if rtd_version == 'latest' %} | ||
<div id="slim-version-box"> | ||
<b>{{version}} (latest)</b> | ||
</div> | ||
<span title="latest development version"> | ||
<img src="https://img.shields.io/badge/latest_version-{{ version }}-orange?style=flat"> | ||
</span> | ||
{% elif rtd_version == 'stable' %} | ||
<b>{{version}} (stable)</b> | ||
<span title="stable version"> | ||
<img src="https://img.shields.io/badge/stable_version-{{ version }}-green?style=flat"> | ||
</span> | ||
{% else %} | ||
<b>{{version}}</b> | ||
{%- endif %} | ||
<span title="old version (not stable or latest)"> | ||
<img src="https://img.shields.io/badge/old_version-{{ version }}-red?style=?style=flat"> | ||
</span> | ||
{% endif %} | ||
{%- else %} | ||
<b>{{version}}</b> | ||
{# not on rtd #} | ||
<span title="development version"> | ||
<img src="https://img.shields.io/badge/dev_version-{{ version }}-blue?style=?style=flat"> | ||
</span> | ||
{%- endif %} | ||
|
||
|
||
<span title="latest development version"> | ||
<img src="https://img.shields.io/badge/latest_version-{{ version }}-orange?style=flat"> | ||
</span> | ||
<span title="stable version"> | ||
<img src="https://img.shields.io/badge/stable_version-{{ version }}-green?style=flat"> | ||
</span> | ||
<span title="old version (not stable or latest)"> | ||
<img src="https://img.shields.io/badge/old_version-{{ version }}-red?style=?style=flat"> | ||
</span> | ||
<span title="development version"> | ||
<img src="https://img.shields.io/badge/dev_version-{{ version }}-blue?style=?style=flat"> | ||
</span> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters