Skip to content

Commit 54b0e4b

Browse files
committed
fix: missing label for empty requests
1 parent 87319a1 commit 54b0e4b

File tree

1 file changed

+7
-0
lines changed
  • django_sonar/templates/django_sonar/requests

1 file changed

+7
-0
lines changed

django_sonar/templates/django_sonar/requests/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
<h5 class="card-title">Requests</h5>
44
</div>
55
<div class="card-body">
6+
7+
{% if not sonar_requests %}
8+
<div class="text-light-grey">No requests found</div>
9+
{% else %}
10+
611
<table class="table table-dashed table-row-dashed table-hover">
712
<thead>
813
<tr class="">
@@ -46,5 +51,7 @@ <h5 class="card-title">Requests</h5>
4651
</tbody>
4752
</table>
4853

54+
{% endif %}
55+
4956
</div>
5057
</div>

0 commit comments

Comments
 (0)