Skip to content

Commit

Permalink
refactor(apis_entities): cleanup relation listings in detailview
Browse files Browse the repository at this point in the history
The relations were a card in a card in a card. Thats too much borders
and clutters the view. Lets at least drop the most inner card.
  • Loading branch information
b1rger committed Oct 11, 2023
1 parent ba5f343 commit 9fb8ea7
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,8 @@ <h3>Relations</h3>
{% for obj in right_card %}

{% if obj.1.data|length > 0 %}
<div class="card card-default">
<div class="card-heading">
<h4 class="card-title">{{ obj.0 }}</h4>
</div>
<div class="card-body">
<div id="tab_{{ obj.2 }}" class="card-body">{% render_table obj.1 %}</div>
</div>
</div>
<h4>{{ obj.0 }}</h4>
<div id="tab_{{ obj.2 }}">{% render_table obj.1 %}</div>
{% endif %}

{% endfor %}
Expand Down

0 comments on commit 9fb8ea7

Please sign in to comment.