Replace deprecated raw tags

This commit is contained in:
discomrade 2023-01-11 04:44:58 -01:00 committed by -
parent 6e15e696ce
commit daeb7b709d

View File

@ -84,14 +84,14 @@
{% endif %}
</section>
<script type="text/javascript">{% raw %}
<script type="text/javascript">{% verbatim %}
{% endraw %}{% if (mod) or (public_hourly) %}{% raw %}
{% endverbatim %}{% if (mod) or (public_hourly) %}{% verbatim %}
var data_24h = {
labels: [ "AM", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11",
"PM", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" ],
series: [
[{% endraw %}{{ statistics_24h }}{% raw %}]
[{% endverbatim %}{{ statistics_24h }}{% verbatim %}]
]
};
@ -101,14 +101,14 @@ var options_24h = {
};
new Chartist.Line('#hourly', data_24h, options_24h);
{% endraw %}{% endif %}{% raw %}
{% endverbatim %}{% endif %}{% verbatim %}
var data_week = {
labels: [{% endraw %}{{ statistics_week_labels }}{% raw %}],
labels: [{% endverbatim %}{{ statistics_week_labels }}{% verbatim %}],
series: [
[{% endraw %}{{ statistics_week_past }}{% raw %}],
[{% endraw %}{{ statistics_week }}{% raw %}]
[{% endverbatim %}{{ statistics_week_past }}{% verbatim %}],
[{% endverbatim %}{{ statistics_week }}{% verbatim %}]
]
};
@ -126,4 +126,4 @@ var options_week = {
new Chartist.Bar('#week', data_week, options_week);
{% endraw %}</script>
{% endverbatim %}</script>