templates: separate GET and POST params presentation (#39037)

This commit is contained in:
Serghei Mihai 2020-01-16 17:54:16 +01:00
parent ef461dcff6
commit 09fbf833e9
1 changed files with 21 additions and 23 deletions

View File

@ -63,7 +63,6 @@
<li class="{{ endpoint.http_method|default:"get" }}-method">{% if endpoint.description %}<span class="description">{{endpoint.description}}{% trans ':' %}</span>{% endif %}
<a href="{{endpoint.example_url}}" class="example-url">{{ site_base_uri }}{{endpoint.example_url_as_html}}</a>
<span class="method-name">{{endpoint.http_method|upper}}</span>
{% if endpoint.get_params %}
<ul class="params">
{% if endpoint.get_params %}
<li>{% trans "Query parameters" %}
@ -87,7 +86,6 @@
</li>
{% endif %}
</ul>
{% endif %}
{% if endpoint.long_description %}
<div class="long-description">
{{ endpoint.long_description }}