Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/api/endpoints.html
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | <tbody> | ||||
<tr class="swh-api-1-doc-route swh-tr-hover-highlight {% for tag in doc.tags %} swh-api-1-doc-route-{{ tag }} {% endfor %}"> | <tr class="swh-api-1-doc-route swh-tr-hover-highlight {% for tag in doc.tags %} swh-api-1-doc-route-{{ tag }} {% endfor %}"> | ||||
{% if doc.tags|length > 0 %} | {% if doc.tags|length > 0 %} | ||||
<td id="{{ route }}"> | <td id="{{ route }}"> | ||||
{% url doc.route_view_name %} | {% url doc.route_view_name %} | ||||
</td> | </td> | ||||
{% else %} | {% else %} | ||||
<td id="{{ route }}"> | <td id="{{ route }}"> | ||||
<a href="{% url doc.route_view_name %}"> | <a href="{% url doc.route_view_name %}"> | ||||
{% url doc.route_view_name %} | {{ doc.route }} | ||||
</a> | </a> | ||||
</td> | </td> | ||||
{% endif %} | {% endif %} | ||||
<td class="d-none d-sm-table-cell"> | <td class="d-none d-sm-table-cell"> | ||||
<a href="{% url doc.route_view_name %}"> | <a href="{% url doc.route_view_name %}"> | ||||
{{ doc.doc_intro | safe_docstring_display | safe }} | {{ doc.doc_intro | safe_docstring_display | safe }} | ||||
</a> | </a> | ||||
</td> | </td> | ||||
Show All 18 Lines |