We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d325a commit efb8586Copy full SHA for efb8586
scanpipe/templates/scanpipe/project_detail.html
@@ -110,10 +110,12 @@
110
{% endif %}
111
</section>
112
113
- <section id="charts" class="mx-5 pt-5" hx-get="{% url 'project_charts' project.uuid %}" hx-trigger="load">
114
- <i class="fas fa-spinner fa-pulse" aria-hidden="true"></i>
115
- Loading the charts...
116
- </section>
+ {% if project.resource_count or project.package_count %}
+ <section id="charts" class="mx-5 pt-5" hx-get="{% url 'project_charts' project.uuid %}" hx-trigger="load">
+ <i class="fas fa-spinner fa-pulse" aria-hidden="true"></i>
+ Loading the charts...
117
+ </section>
118
+ {% endif %}
119
</div>
120
121
{% include 'scanpipe/includes/run_modal.html' %}
0 commit comments