Avoid showing table header when there are no results
This commit is contained in:
parent
56ed381a7d
commit
a2c1fe7930
1 changed files with 31 additions and 34 deletions
|
@ -38,14 +38,10 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<br />
|
|
||||||
|
|
||||||
<% if @issues.length == 0 %>
|
<% if @issues.length == 0 %>
|
||||||
<p><%= t ".issues_not_found" %></p>
|
<p><%= t ".issues_not_found" %></p>
|
||||||
<% end %>
|
<% else %>
|
||||||
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<table class="table table-sm">
|
<table class="table table-sm">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -77,3 +73,4 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<% end %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue