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>
|
||||||
|
{% if params.index == 'main' %}
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div style="height: 30rem">
|
<div style="height: 30rem">
|
||||||
<canvas id="volume"></canvas>
|
<canvas id="volume"></canvas>
|
||||||
</div>
|
</div>
|
||||||
<script src="{% static 'chart.js' %}"></script>
|
<script src="{% static 'chart.js' %}"></script>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% 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