Browse Source

remove btn em details usados como extensão sem um object

pull/3585/head
LeandroJatai 2 years ago
parent
commit
bd4b7a6bb1
  1. 18
      sapl/templates/crud/detail.html
  2. 2
      sapl/templates/crud/detail_detail.html

18
sapl/templates/crud/detail.html

@ -101,15 +101,17 @@
{% endfor %}
{% endblock detail_content %}
<div class="container justify-content-end d-flex">
<div class="actions btn-group" role="group">
<a href="{{ view.openapi_url }}" class="btn btn-sm btn-info py-0">
<small class="text-white">
{% trans 'OpenAPI' %}
</small>
</a>
{% if view.openapi_url %}
<div class="container justify-content-end d-flex">
<div class="actions btn-group" role="group">
<a href="{{ view.openapi_url }}" class="btn btn-sm btn-info py-0">
<small class="text-white">
{% trans 'OpenAPI' %}
</small>
</a>
</div>
</div>
</div>
{% endif %}
</div>

2
sapl/templates/crud/detail_detail.html

@ -64,6 +64,7 @@
{% endfor %}
{% endblock detail_content %}
{% if view.openapi_url %}
<div class="container justify-content-end d-flex">
<div class="actions btn-group" role="group">
<a href="{{ view.openapi_url }}" class="btn btn-sm btn-info py-0">
@ -73,6 +74,7 @@
</a>
</div>
</div>
{% endif %}
<div class="actions btn-group mb-3" role="group">
{% if view.detail_set_create_url %}

Loading…
Cancel
Save