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>
|
||||
<% end %>
|
||||
<br />
|
||||
|
||||
<% if @issues.length == 0 %>
|
||||
<p><%= t ".issues_not_found" %></p>
|
||||
<% end %>
|
||||
|
||||
<br />
|
||||
|
||||
<% else %>
|
||||
<table class="table table-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -77,3 +73,4 @@
|
|||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue