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 %} {% endfor %}
{% endblock detail_content %} {% endblock detail_content %}
<div class="container justify-content-end d-flex"> {% if view.openapi_url %}
<div class="actions btn-group" role="group"> <div class="container justify-content-end d-flex">
<a href="{{ view.openapi_url }}" class="btn btn-sm btn-info py-0"> <div class="actions btn-group" role="group">
<small class="text-white"> <a href="{{ view.openapi_url }}" class="btn btn-sm btn-info py-0">
{% trans 'OpenAPI' %} <small class="text-white">
</small> {% trans 'OpenAPI' %}
</a> </small>
</a>
</div>
</div> </div>
</div> {% endif %}
</div> </div>

2
sapl/templates/crud/detail_detail.html

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

Loading…
Cancel
Save