Hide chart for non-main queries
This commit is contained in:
@@ -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 #}
|
||||||
|
|||||||
Reference in New Issue
Block a user