diff --git a/swh/web/ui/templates/api.html b/swh/web/ui/templates/api.html index b4cb3b950..9d5dba7b3 100644 --- a/swh/web/ui/templates/api.html +++ b/swh/web/ui/templates/api.html @@ -1,21 +1,21 @@ {% 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 }}

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

{{ route }}

{% else %}

{{ route }}

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

{% endfor %}
{% endblock %}