We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b019b8 commit aa966d9Copy full SHA for aa966d9
1 file changed
dojo/templates/dojo/engagement_pdf_report.html
@@ -110,15 +110,17 @@ <h5>
110
<div class="panel panel-info endpoints table-responsive">
111
{% colgroup endpoints into 2 cols as grouped_items %}
112
<table class="table-striped table table table-condensed table-hover finding-endpoints">
113
- {% for row in grouped_items %}
114
- <tr>
115
- {% for item in row %}
116
- <td>{% if item %}<i class="fa-solid fa-circle"></i>
117
- {{ item }}{% endif %}
118
- </td>
119
- {% endfor %}
120
- </tr>
121
+ {% if grouped_items|length > 0 %}
+ {% for row in grouped_items %}
+ <tr>
+ {% for item in row %}
+ <td>{% if item %}<i class="fa-solid fa-circle"></i>
+ {{ item }}{% endif %}
+ </td>
+ {% endfor %}
+ </tr>
122
123
+ {% endif %}
124
</table>
125
</div>
126
0 commit comments