Skip to content

Commit 47612a5

Browse files
authored
Merge pull request #183 from ponder-lab/ypaing/162-hide-categorization-table-if-no-entry
conditionally rendering categorization table for bug fix only if there are entries
2 parents ecdbaee + d8d0340 commit 47612a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ponder/templates/ponder/categorizations_by_BugFixID.html

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ <h3></h3>
8585
</div>
8686
</br>
8787

88+
{% if table.rows|length %}
8889
<div class="container">
8990
<nav class="navbar navbar-expand-lg bg-light" style="background-color: #e3f2fd;">
9091
<h3 style="font-size: 30px; line-height: 43px; font-family: Helvetica; text-align: center; color: #337ab7;">
@@ -95,6 +96,7 @@ <h3 style="font-size: 30px; line-height: 43px; font-family: Helvetica; text-alig
9596
<div class="container">
9697
{% render_table table %}
9798
</div>
99+
{% endif %}
98100
</body>
99101

100102
</html>

0 commit comments

Comments
 (0)