Browse Source

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

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

2
sapl/templates/crud/detail.html

@ -101,6 +101,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">
@ -110,6 +111,7 @@
</a> </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