Hide chart for non-main queries
This commit is contained in:
parent
e76c163591
commit
5fd6b887de
|
@ -26,12 +26,14 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="box">
|
{% if params.index == 'main' %}
|
||||||
<div style="height: 30rem">
|
<div class="box">
|
||||||
<canvas id="volume"></canvas>
|
<div style="height: 30rem">
|
||||||
|
<canvas id="volume"></canvas>
|
||||||
|
</div>
|
||||||
|
<script src="{% static 'chart.js' %}"></script>
|
||||||
</div>
|
</div>
|
||||||
<script src="{% static 'chart.js' %}"></script>
|
{% endif %}
|
||||||
</div>
|
|
||||||
{% include 'ui/drilldown/table_results_partial.html' %}
|
{% include 'ui/drilldown/table_results_partial.html' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{# Update the tags in case the user changed the query #}
|
{# Update the tags in case the user changed the query #}
|
||||||
|
|
Loading…
Reference in New Issue