diff --git a/swh/web/ui/templates/api.html b/swh/web/ui/templates/api.html index 9d5dba7b3..a89ae4919 100644 --- a/swh/web/ui/templates/api.html +++ b/swh/web/ui/templates/api.html @@ -1,21 +1,22 @@ {% extends "layout.html" %} {% block title %}API Overview{% endblock %} {% block content %}
{% for route, doc in doc_routes %} {% if 'deprecated' in doc and doc['deprecated'] is not none %}
-

{{ route }}

+

{{ route }}

(deprecated) + {% elif 'upcoming' in doc and doc['upcoming'] is not none %}
-

{{ route }}

+

{{ route }}

(upcoming) {% else %}

{{ route }}

{% endif %} {% autoescape off %}{{ doc['docstring'] | safe_docstring_display }}{% endautoescape %}

{% endfor %}
{% endblock %}